I am following a tutorial and one of the steps its asking is to go to my projects properties and click on c/c++ and add a path to "Additional Include Directories" property. I am using visual C++ Express Edition 2008. the tutorial is using the same thing. Is there away to get this or an alternative ??
This is my screen
This is tutorials screen
Download & Install the C/C++ Extension We need to click on the extension button that displays a sidebar for downloading and installing the C/C++ extension in the visual studio code. In the sidebar, type C Extension. In this image, click on the Install button to install the C/C++ extension.
Visual Studio Code is a lightweight, cross-platform development environment that runs on Windows, Mac, and Linux systems. The Microsoft C/C++ for Visual Studio Code extension supports IntelliSense, debugging, code formatting, auto-completion.
You access project properties by right-clicking the project node in Solution Explorer and choosing Properties, or by typing properties into the search box on the menu bar and choosing Properties Window from the results.
In Visual Studio You can set compiler options for each project in its Visual Studio Property Pages dialog box. In the left pane, select Configuration Properties, C/C++ and then choose the compiler option category.
After adding .cpp file it may not show C/C++ in the project's properties. This is because value of "Configuration Type" is "Utility". Change this value to .dll and apply. Now you can see C/C++ in Configuration Properties. Where do I change this?
Some properties are common among all project types, and some are unique to specific languages or platforms. You access project properties by right-clicking the project node in Solution Explorer and choosing Properties, or by typing properties into the search box on the menu bar and choosing Properties Window from the results.
Or if you copied cpp files to a newly created project, you need to right click on the src folder and select "Include in Project", only then will visual studio consider them part of the project and show C++ in properties. (If you don't see "src" in your project, make sure to toggle "show all files" in the Solution Explorer options.)
So, my solution is; Select the source file of the project in solution explorer, then right click to select the property of the c source file. Then select 'Item Type' to 'C/C++ compiler'. Then c/c++ category will appear.
You don't have the C++ compiler options until you're actually using the C++ compiler. In this case, you don't have a .cpp file. So just add one and the compiler options will appear.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With