Review Questions
1. |
What is a stream? What kinds of streams are there? |
|
2. |
Give one reason to use an ostrstream. |
|
3. |
What is the main difference between getline and the >> operator? |
|
4. |
What is the type of each expression?
|
|
5. |
In Example 1.23, identify the type and value of each "thing": Example 1.23. src/types/types.cpp
|
|
6. |
What is the difference between a pointer and a reference? |
|
7. |
Why does main(int argc, char* argv[]) sometimes have parameters? What are they used for? |