Open main menu

CDOT Wiki β

Changes

OOP344 ljubomir notes

1,312 bytes added, 16:26, 1 November 2009
Other
=Summary of topicsOverview==Week 1== introduction to OOP344
==Week 2 - Sep 13==
*define*include*macros*operators*statement evaluation*return value of main*return value of printf & scanf*conditional compilation ==Week 3 - Sep 20== *pointers*pointer arithmetic*pointers to pointers to pointers... etc.*logical operators and pointers ==Week 4 - Sep 27== *undef (#undef)*casting*unsigned variables*multi-dimentional arrays and their pointer notation*pointers to functions*pointers to pointers to pointers... etc.*typedef, enum ==Week 5 - Oct 4== *bits, bitwise operators*a jump ahead and review!**C++**inheritance**polymorphism**encapsulation*default parameters*forward declaration*initialization vs. setting*vitual methods*pure virtual methods*abstract base classes ==Week 6 - Oct 11==
include'''Dynamic Memory Allocation'''
macrosYou need:
operators#a pointer for the data type that will occupy the memory whose address you will point to - int* p;#if the pointer is already pointing at another already allocated memory, deallocate it#allocate memory and set the pointer to its address#use the memory#when you are done, deallocate it - delete[] p;
statement evaluation==Week 7 - Oct 18==
return value of main*linked lists*declaration modifiers**const**extern**static**auto**register**volatile*passing arguments as command line arguments*variable argument list
return value of printf & scanf=Links=
conditional compilation==Audio Recordings==
[http://www.ljubomirgorscak.com/recordings/oop344recordings.html Fardad's OOP344 lectures] ==Week 3 - Sep 20Other== [http://zenit.senecac.on.ca/wiki/index.php/OOP344 OOP344 main wiki page] [http://www.ljubomirgorscak.com/ Ljubomir's Website]
PointersPointer arithmeticPointers to pointers to pointers... etc.Logical operators and pointers=Discussion=
1
edit