Friday 15 August 2014

c++ - Run a tutorial in Visual Studio - What kind of "New Project"? -


I want to run the first code in this tutorial with Visual Studio:

As I have not had much experience with Visual Studio, I do not know what type of project should I open (Win32 console application?) And settings that should be for me to run. Thank you for your help. !

You can create a blank (C ++) project, add a source file ( main.cpp ), and then copy that code. However, you will also need it:

  1. Download their header files and libraries and note where you can save them
  2. Right click Project and "Properties" Select.
  3. Go to "C / C ++ -> General".
  4. Add the location of their header to the "Additional Insert Directories" field in the field.
  5. Navigate to "Linker -> General."
  6. "Add the location of their libraries (.lib files) to additional libraries." Linker - & gt; Input ".
  7. Add the names of your libraries that you need to link in the" Additional dependency "field.

No comments:

Post a Comment