create a c++ program in visual studio
programming
0. Translate algorithm into C++
  1. Open Microsoft Visual Studio
    - Click on the desktop icon   OR   Click Start menu and find
  2. New Project / Visual C++ / Win32 Console Application
    - Enter Name for Project (helloWorld)
    - Note location
    - Check 'create directory for solution'
  3. Wizard: Click Application Settings
    - Check 'empty project' ***!!!
    - Finish
  4. Project/ Add New Item
    - Code
    - C++ File
    - Enter Name for file (main.cpp)
  5. visual studio
  6. Enter Code!

  7. // Hello World Program #include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; return 0; }

  8. Build / Build helloWorld compiles the program
    - If no syntax errors, message on status bar "Build Succeeded"
    - 'Error List' window opens at bottom if there are syntax errors
  9. Executing your newly compiled code:
    - Ctrl-F5 runs the code NODEBUG (to add button: 'Tools/Customize')
    - Debug / Start Debugging - executes the code
  10. Check now for LOGIC ERRORS