![]() |
CMPT 212
Spring 1998
|
![]() |
Read chapters 1 and 2 from C++ Primer Plus (2nd ed.),
by Stephen Prata.
Read chapter 8 (except for the sections on function templates and function template overloading) from C++ Primer Plus (2nd ed.), by Stephen Prata. If you haven't used C or C++ for a while, you might want to read chapter 7 as a review. |
If we used /* */ for "normal" comments, we could have this error:
char c;
cin >> c;
int i;
cin >> i;
char c = 'W';
cout << c;
int i = 56;
cout << i;
char c;
int i;
cin >> c >> i;
char c = 'W';
int i = 56;
cout << c << i;
![]() Return to lecture notes index |
|
This page is maintained by simpson@cs.sfu.ca. | Last updated on 7 Jan 1998. |