Fall 2008
|
||||||||||||
|
Compilers MinGW g++. This runs from a command window only. Download and run the installer (MinGW_Toolbox_Setup.exe, 23 MB). Add C:\mingw\bin to your PATH. In Vista, you may also have to copy the file cc1plus.exe from c:\mingw\libexec\gcc\mingw32\3.4.5 to c:\mingw\bin. Visual Studio 2005 Pro or Standard. You will need a TRACKS account and be registered for this class to download it. This has a GUI and lots of features. The Pro version download is 2.8 GB (DVD image). Not recommended for older machines or slower connections. To install, download the 4 .rar files, unrar e *.rar, then burn a DVD from the .iso file or use the provided program to mount the .iso to disk and run vs\autorun.exe as administrator. |
||||||||||||
| Submissions : CSE1502 SubmitServer |
||||||||||||
Grading Poilcy |
||||||||||||
| The following points will be taken into account while evaluvating your assignments :
1. Program Logic,Naming conventions of variables,code layout,Comments - 50% 2. Compilation of code and passing through the test cases - 50%. |
||||||||||||
Exams |
||||||||||||
| Exam 1 (50 points) #Oct10
Exam 2 (50 points) #Nov 7 Final Exam (100 points) #Fri. Dec. 12, 8:00-10:00 AM. |
||||||||||||
Assignments Homework01 Homework02 file1.txt file2.txt Homework03 Homework04 Homework05 Extra Credit |
||||||||||||
Grades |
||||||||||||
Week1 |
||||||||||||
|
Registering in Submit Server
Introduction to using Visual Studio and g++ compiler using the HelloWorld.cpp program |
||||||||||||
Week2 |
||||||||||||
|
Arithmetic operations
Right triangle DataTypes and operator precedence Formatting output Practice Template |
||||||||||||
Week3 |
||||||||||||
|
3. Control Structures If Else statements Number Compare Switch Example Practice template for switch statement |
||||||||||||
Week4 |
||||||||||||
|
While Loop Example Do-While Loop Loops Practice Random Numbers For Loop Example |
||||||||||||
Week5 |
||||||||||||
|
4. Working with data files Reading from files Writing into files |
||||||||||||
Week6 |
||||||||||||
|
5. Modular Programming with functions Calculating the average of 3 numbers Function prototype Functions Class Exercise Function overloading Pass by reference - swapping values |
||||||||||||
Week7 |
||||||||||||
|
6. One dimensional Arrays Finding the maximum of 3 numbers Passing Arrays to functions |
||||||||||||
Week8 |
||||||||||||
|
Introduction to vectors Example - Eliminating duplicates Vector Properties |
||||||||||||
Week9 |
||||||||||||
|
Introduction to strings Code Practice 1 - Palindrome Code Practice 2 - Sorting a string Strings Practice |
||||||||||||
|
Multi-dimensional Arrays Passing Multi dimensional Arrays to functions Code Practice |