Introduction to C++
Jonah Warrenjonah AT parsons DOT edu
http://www.feedtank.com/2005/cpp
Code from Class 3
- strings_01.cpp (strings - initializing char arrays, hard and easy ways)
- strings_02.cpp (strings - using cin and char arrays)
- strtype_01.cpp (strings - the C++ string class)
- strtype_02.cpp (strings - the C++ string class, and using operations on them)
- address_01.cpp (getting the address of a variable with &)
- pointer_01.cpp (pointers - declaring a pointer, setting it and dereferencing it)
- pointer_02.cpp (pointers - initalizing a pointer and setting it at the same time... beware * notation)
- new_01.cpp (pointers - using the new command to allocate memory)
- dynarray_01.cpp (pointers - creating dynamic arrays with new)
- dynarray_02.cpp (pointers - dynamic arays and pointer arithmetic)