Skip to main content


Showing posts from 2015

Good links for free 3D models

Some Qt and C++ tickles for UNISA COS2614

Some simple things to remember for the UNISA COS2614 exam, in no particular order:
Download Qt here:
Nice simple Qt examples here:
Nice Qt videos here:
C++ if-else shorthand (ternary operators): condition ? value_if_true : value_if_false
Command Line Arguments: int main ( int argc, char *argv[] ) The integer, argc is the ARGument Count (hence argc). It is the number of arguments passed into the program from the command line, including the name of the program.
The array of character pointers is the listing of all the arguments. argv[0] is the name of the program, or an empty string if the name is not available. After that, every element number less than argc is a command line argument. You can use each argv element just like a string, or use argv as a two dimensional array. argv[argc] is a null pointer.
Explain two benefits of applying design patterns in OOP: Improves re-usability and extens…