Notes for Day 1

How to create a new C++ console project in CodeBlocks

  1. Login to your Kenyon account in the lab
  2. Open the "Installed Software" folder
  3. Double Click "CodeBlock"
  4. Go to File->New->Project
  5. Select "Console Application"
  6. Click "go"
  7. Click "Next"
  8. Make sure C++ is selected and click "Next"
  9. Give the project title (like "helloworld")
  10. Select your driver or USB drive as the folder to create in
  11. Click "Next"
  12. Click "Finish"
  13. Open the sources folder of your project
  14. Open "main.cpp"
  15. Replace the code with your code
  16. Select Build->Build
  17. Check for errors in log panel (bottom)
  18. Select Build->Run
  19. A window should open up and the program will run in it.
  20. Close the window, not doing so with lock your CodeBlock for further changes.
More information on the CodeBlocks wiki:

This topic: SCMP118/Fall2016 > WebHome > NotesDay2
Topic revision: r2 - 2015-08-26 - JimSkon
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback