The course will teach basic programming concepts in the language C++ and in object-oriented programming, as well as some intermediate topics.
The course builds on basic skills in object-oriented programming in the programming language Java.
The course gives a basis for more advanced game programming courses. Students should be able to:
• master a programming environment (create Projects,compile, link, run);
• use standard IO;
• program with the use of variables, arithmetrical operators, loops, choice sentences;
• use arrays;
• deklare functions or methods and use these with and without different types of parameters;
• understand and correctly apply references and pointers for efficient memory handling;
• understand and apply object-oriented thinking with the use of classes, objects, inheritance and polymorphy;
• use operator-overloading efficiently;
• program file input/output;
• master error handling;
• understand and use different number systems and bit operations;
• use and create class and method templates;
• use different general data structures and algorithms in Standard Template Library.
The course is given as lectures and exercises: 30 hours of lectures and 20 hours of supervised exercises.
The course has provided skills in programming in C++, emphasising object-oriented topics such as inheritance and ploymorhpy, as well as skills in using references, pointers and overloading of operators. Further, students will master simple file processing and contincency handling, and be able to define their own templates and use some general data structures and algorithms in Standard Template Library. An introduction has been given to the use of Visual Studio Professional 2005 as an efficient development tool to create C++ applications.