The importance of backing up your files seems obvious, but choosing how gets complicated fast. The built-in Windows backup option is painfully basic, while decent backup software costs serious money.
João has been covering the tech world for over 7 years, with a heavy focus on laptops and the Windows ecosystem. I also love all things tech and videogames, especially Nintendo, which he's always ...
ifstream file; file.open("myfile.txt", ios::binary); if(file.good()) cout<<"yay\n"; else cout<<"boo\n"; Everything works great if the file is not marked as read-only ...