Windows filename extensions

The true name of most files in Windows has an extension (a dot followed by a few letters at the end of the name) that indicates the type of the file. Examples include hello.sln, hello.vcxproj, hello.cpp, and report.docx. When you look at the contents of a folder in Windows, you may or may not see the extension part of the file name, depending on an option setting. Here's how you can set that option so that you can see the extension:

On the SEASnet Windows server:

  1. Click Start / Computer / Organize / Folder and search options
  2. Click the View tab, and under Advanced Settings, clear the check box Hide extensions for known file types.

Under Windows otherwise:

  1. Click Start / Control Panel / Appearance and Personalization / Folder Options
  2. Click the View tab, and under Advanced Settings, clear the check box Hide extensions for known file types.

Whether or not file extensions are shown, your C++ source file (e.g., one whose true name is hello.cpp) is the one that has an icon such as one of these:

C++ source file icon C++ source file icon