Special Group
COMP115 Lecture NOTES
COMP115 Notes zipped
Core Concepts from COMP115
This page is still under construction and more examples may appear.
- Simple C++ programs, TYPES int, double, char, bool, ARITHMETIC Operations, INPUT/OUPUT cin and
cout
Malik Chap 2 and 3. (can skip over p100-123 formatting as we can look that up when we need it).
- Selection - IF-THEN-ELSE and SWITCH
Malik Chap 4
- Repetition - For loops while loops do loops
Malik Chap 5 skip p235 - 240. we don't want to break or continue from our loops
- Testing and Debugging
Not in Malik as such
testing.pdf
- Functions - predefined functions, void functions, functions having a value, pass by value and
pass by reference
Chap 6 of Malik
Chap 7 of Malik - skip p 321 -324 (forget static and automatic, forget
function overloading for the moment, forget default parameters)
- Arrays read in, display, traverse, search through, sort (simple)
Malik chap 9 - ignore C-strings and parallel arrays
- Using classes - note emphasis on USING classes such as class string
Malik chap 8 - p 380-383 (ignore enumeration types)
- Reading and Writing from text files