Additional information will be posted here throughout the course as needed.
Style (Indentation and Commenting)
Exam Information
Online Tools
C/C++
Python
Scratch
Suggest Editor
We strongly encourage you to download an editor (though not compiler) to your local laptop so you can write/save/edit your code locally and just copy/paste to Vocareum. We recommend MS Visual Code as a very nice cross-platform editor with many extensible features. Note: You will not be able to compile/run your code with just this tool. It is only an editor. Some C++ compilers are available for free but require other setup.
- MS Visual Code. Another increasingly popular cross-platform editor. Free!
Linux/Unix Reference
Cygwin
- Cygwin is a full-blown Unix-environment for Windows users, providing you with the gcc compiler, debugger, shell, and everything else you need.
C++ Resources
- Our guide for writing good code, and help to deal with common mistakes.
- Cplusplus.com
- CPPreference.com
Other Editors and IDEs
We strongly advise you against using gedit, notepad, or other primitive editors. Switch to a professional-level environment or editor, such as the following:
- Microsoft Visual Studio. A commercial development environment that is generally not free, but for which you can get a free license as a USC student.
- Eclipse. A powerful and freely available development environment, which can be used both with Java and C++.
- GNU Emacs. A powerful and freely available editor that is very customizable, and comes with a lot of support for writing and editing code. If you use Emacs, you will likely still need to know how to compile at the command line.
- VIM. Another powerful and freely available editor that is very customizable and has support for writing and editing code. Same caveat as for Emacs.
- Sublime Text. An increasingly popular cross-platform editor. Not free; comes with evaluation period.
- MS Visual Code. Another increasingly popular cross-platform editor. Free!