Sophomore projects from UIC (Programming Practicum)
I've learned how to:
- utilize Pointer (double, triple pointer)
- utilize virtual, const, and static function
- differentiate C from C++
- use inheritance for class
- making board game
- handle complex code
--------------------------------------------------------------------Programming in C-----------------------------------------------------------------------------------
// Target List //
This program is capable of:
- Arranging the list in an alphabetical order (sorting algorithm)
- Setting the target number and compare its position to the list, which is not sorted
- Expanding the list whenever needed (Dynamically allocated arrays and size double)
// Collection points in 3D //
This program is capable of:
- Utilizing typedef struct to have some properties
- Debug Mode "-d" as a command line argument
- Handling pointers in the struct and interconnections
// Linked List for Polygon //
This program is capable of:
- Handing linked-list and struct
- Assigning indices and making the most of them
// Interconnected Structure //
This program is capable of:
- (project2~4)Connecting 4 typedef structs and utilizing Data diagram
----------------------------------------------------------------------Programming in C++--------------------------------------------------------------------------
// Collection points in 3D with class //
This program is capable of:
- Utilizing double pointer
- Handling class, not struct (so distinguish the concept of public and private)
// Polygons by using inheritance //
This program is capable of:
- Inheritance
- Virtual function for Polygon, Pointset
- Static and const function
// Board game // (pending, almost done)
This program is capable of:
- All of the previous project
- Making a board and character
- Detecting collision
- AI depending on my main character
• In-line commenting • Function header commenting • File header commenting • Meaningful and description variable names • Proper use of indentation • Proper use of blank lines • Use of Functions
• No global variables are allowed, with the unusual exception of the DebugMode bool. In particular the PointCloud must be declared in main and passed around as needed. ( The definition of the classes must be global, so they are known to all functions, but the variables themselves are all local variables. ) • All good programming practices should be exercised, including proper commenting, variable naming, loop indentation, use of functions, and so on. • All dynamically allocated memory must be freed before exiting the program. This last point will be tested using valgrind when evaluating your program. ( And for all future projects. ) • This assignment is to use new and delete in place of malloc and free. new throws exceptions if the requested memory cannot be allocated, instead of returning NULL. Exception handling will be covered later in the course, so you may omit this error handling for now if you are not familiar with exceptions and exception handling.