C/C++ Programming 2
Ray Mitchell
Assignment Schedule And Information

ALL ASSIGNMENTS ARE ONE PERSON PROJECTS

1.

Getting occasional suggestions or explanations from others is encouraged.

2.

Working together with anyone on any part of any assignment is PROHIBITED and will result in a score of 0 for the entire assignment.

3.

Submitting work that is not exclusively your own or that you have shared with others is PROHIBITED and will result in a score of 0 for the entire assignment.

 

BEFORE DOING ANY ASSIGNMENTS...
please examine ALL of the following:

Assignment Submission Requirements
May I Submit Assignments Late/Incomplete?
May I Submit Assignments via E-mail?
How Do I Create A Program Using:
        Microsoft Visual Studio .NET 2008 IDE
        Microsoft Visual Studio .NET 2005 IDE
        Other IDEs
How Do I Create A Program From Multiple Files?
How Do I Set Up IDE Command Line Arguments?
Debugging Programs and Getting Instructor Help
Differences Between C And C++ Programs
Microsoft Warning C4996

 

Topic Coverage and Assignment Schedule
Grading policies and regaining points lost on assignments 2-4...

Click here for hints of dubious worth for some exercises.

SAVE TIME - DOWNLOAD ALL NEEDED FILES AT ONCE BY CLICKING HERE 


ASSIGNMENT SUBMISSION REQUIREMENTS

This
Meeting

"Advanced C/C++ Notes"
Topics For This Meeting


Due At This Meeting
 

1

Section 0 - "Computer Number Systems"
Notes:  11.1 - 11.9
Notes:  18.1 - 18.9
none

2

Notes:  12.1 - 12.8 

A1 - This assignment must be completed and turned in to obtain full credit for this course, although the actual score you obtain on it will not be used when computing your final grade.

Unlike assignments 2-8 y
ou do not need to run any of the code and nothing should be submitted to the "Automated Assignment Checker".  Please contact me with any questions you may have.
3 Notes:  13.1 - 13.13 A2E1   A2E2   A2E3   A2E4 
4 Notes:  13.14 - 13.27 A3E1   A3E2   A3E3   A3E4 
5 Notes:  14.1 - 15.3 A4E1   A4E2   A4E3 
6 Notes:  15.4 - 15.14 A5E1   (A5E2.A   A5E2.B)   (A5E3.A   A5E3.B) 
7 Notes:  15.15 - 16.7 A6E1   A6E2   A6E3   (A6E4.A   A6E4.B) 
8 Notes:  16.8 - 17.3 A7E1   A7E2   A7E3   (A7E4.A   A7E4.B) 

9

Notes:  17.4 - 17.15

A8E1   A8E2 

Test Files (required for some assignments)
TestFile1.txt    TestFile2.txt    TestFile3.txt    TestFile4.bin    TestFile5.txt    TestFile6.txt   mFile1.txt    mFile2.txt    mFile3.txt (empty)    mFile4.txt    mFile5.txt

 

What is a "C Program"?          What is a "C++ Program"?

Most exercises say to, "write a C program" or, "write a C++ program".  Virtually all ANSI/ISO/IEC C functions and constructs will compile and execute properly in a C++ environment, but because C++ was designed to be "a better C", alternatives to many of those deemed "unsafe" have been implemented in C++.  Only the C++ alternatives should be used in a C++ program.  On the other hand, no C++ forms may be used in a C program.  For the C++ concepts covered in this course use the following guidelines when writing your programs:

Some characteristics of  a "C Program"

Some characteristics of  a "C++ Program"

Source code files typically have  .c  extensions while header files typically have  .h  extensions.

Source code files never have  .c  extensions but instead typically have extensions of  .cpp, .cxx, .C, etc.  Header files typically have no extension.

void pointers and functions that use them or have a variable number of arguments are fine.

void pointers or functions that use them or have a variable number of arguments are not normally used.

Use the stdio family of functions for stream I/O, for example scanf, printf, getchar, putchar, fgets, fputs, fread, fwrite, etc. .

Use the iostream and ...fstream family of objects/methods/operators for stream I/O, for example cin, cout, cerr, get, getline, put, write, etc.

Use  malloc, calloc, realloc, and free for dynamic memory operations.

Use new, new[], delete, and delete[] for dynamic memory operations.

Use /*...*/ for comments.

Use // for comments.

Use the keyword void to designate an empty parameter list:
int main(void)
Omit the keyword void to designate an empty parameter list:
int main()