Computer tips and tricks
Table of Contents
1. General computer skills
1.1. How to take a screenshot
- In Windows
- Press PRINTSCREEN on your keyboard, then go to an image editing application (Paint, if you have nothing else) and use EDIT > PASTE to paste the image in.
- In Mac
- CTRL+Z, COMMAND+SHIFT+3 to take a screenshot in Mac
2. File extensions
2.1. Windows - Turning on viewing file extensions
By default, Windows hides file extensions from you. However, it is important to know what kind of files you're working with in a programming class. To view file extensions, search for "File Explorer Options". Select the "View" tab, and UNCHECK the option "Hide extensions for known file types". Hit OK when done.
2.2. C++ code files
2.3. Executable files
3. Navigating the filesystem
3.1. Project working directory
Visual Studio:
Code::Blocks:
It is important to keep in mind that the default working directory of our programs is the location where the project file is. For Visual Studio, that's a .vcxproj file. For Code::Blocks, that's a .cbp file.