Learning C-Style C++


by Direct Approach Mentoring



Starting a "Win32 Console Project"

0. Visual Studio

Visual Studio is a very big program with millions of Microsoft-style features that no one will ever find or use.

Here is generally how to get to where you can write code in Visual Studio:
  1. Open Visual Studio
  2. In the menu, select File->New->Project...
  3. Find the icon for Win32 Console Project
  4. Type a name for your project and click OK
  5. Click Application Settings and check the box for Empty Project
  6. Click Finish

    Now you have a project with no files, but we need a C++ source file, so
  7. Right-click on Source Files in the Solution Explorer
  8. Choose Add->Add New Item...
  9. Find the icon for C++ File (.cpp)
  10. Give it a name (same as project is ok) and click Open

    Now you can write code.