Installing required software
Some software is required for you to work on assignments on your own computer. Here I show how to install software on Windows (two options; you only need to choose one), and Mac OS X (one option).
Note: when the videos say "go to learn.artifice.cc", change that to "go to rafewenger.github.com/cse2122"
Windows
Choose one of these recommended options:
CodeBlocks -- much easier to use, but it is not on the OSU lab computers.
Visual Studio Express -- harder to use, but it is on the OSU lab computers.
CodeBlocks
To get started with c++11. go to settings in CodeBlocks and mark c++11. Settings
Visual Studio Express
HOW TO RUN A PROGRAM USING VISUAL STUDIO.
Go to this webpage, then click "Express Edition (Express for Desktop)" and click Install Now, then "launch" the file that begins downloading.
The Microsoft website may look a little different in the video, but the steps for configuring Visual Studio Express are still the same.
Detailed Instructions:
- Create a new "empty project"
- Give it a name and save it.
- Left Click on "SourceFiles". SourceFiles
- Add a new file called Source.cpp You can give it any name.
- Right Click on the "project" go to "properties" and do the following change System->SubSystem
- Press Build to Build the program, solve the errors
- Press Debug or Ctrl-f5 to run the program. Ctrl-f5 will show you the results for the program.
Mac OS X
You will need Xcode 4 from Apple; click "View in Mac App Store," or just search the Mac App Store.
I have just found out that Xcode is not free anymore. I apologise if you had to pay for a C++ compiler. A great free open source software is no more.
Eclipse for C++ is an excellent FREE alternative. (Thanks to Daniel for telling me about this).
Learning to use Linux command line
Basic linux commands
A little in-depth