Ray Devore's Notes
General C++ Information

I have written or expanded all of these documents. If you have any recommendation for additional topics or changes to any of those below, please e-mail your recommendation to me.

NOTE: Once you get past the middle of ITSE 1307 "Intro to C++", the main() function controls (supervises) the work, it doesn't do the work. If your main() does more than variable definitions, function calls, simple input/output, and as necessary a single loop, then main() is doing too much. Move the work into functions.

Program Format and Grading -- Guidance on how I want your programs formatted and how I will grade your programs.  This is a "Must Read" for students in my classes.

Programming Guidelines (Advanced) -- This is a collection of programming guidelines based on years of experience and things I have observed during grading of Advanced C++ (ITSE 2331) and C++/STL (ITSE 1391) programs. This is a "Must Read" for students in my classes. (Not for ITSE 1302)

C++ Terms and Symbols Guide -- This page contains information (to include pronunciation) of some basic C++ terms and symbols.  If you are going to use the C++ language, you need to know the correct pronunciation and names of the terms and symbols.

 

Debugging -- Tips on how to debug programs.

 

Reading Column Delimited Files -- Notes on reading files where data is in certain positions instead of separate fields.

 

Let each header file take care of itself -- My comments on standard header files surrounded by #ifndef and #endif.

 

Programming Guidelines (Intro) -- This is a collection of the various comments I have made during grading of Introduction to Programming (ITSE 1302) programs. This is a "Must Read" for students in my 1302 class.

 

Using <iomanip> -- Some notes on using the functions associated with the header file <iomanip>.

 

Linux Commands -- A list of various command to use from the command prompt in Linux/Cygwin.

 

Using Linux for C++ -- Notes on using Linux/CygWin to compile and run C++ programs.

 

Notes on vim -- Notes on the use of the vim (vi improved) editor.  vim is available under Linux and Cygwin. It can color-code your C++ code similar to MSVC++.

 

Makefile Example -- A commented example of a Linux/Cygwin makefile. A makefile builds a project in Linux/Cygwin. (Not for ITSE 1302)

 

Makefile Directions -- Notes on how to develop a Linux/Cygwin makefile. This is an RTF file that contains more details than the Makefile Example web page above. (Not for ITSE 1302)

 

Getting Started with Microsoft Visual C++ Environment -- This explains how to create a project and how to add/remove files from the project. Also, how to compile individual files, then build and run a project.

Using standard header files -- Some notes on standard header files and namespace std.


Comments on Comments -- My comments on where you should put your comments in your code.

Clear and understandable code -- Benefits of writing clear and understandable code.

Using Linux at SAC -- Notes on using Linux on the computers at SAC.


 

© Ray Devore 2008

Updated December 28, 2008

 

Valid XHTML 1.0 Transitional