2
The C++ Programming Language
2.1
How do I prompt for and read keyboard input from the same line?
2.2
What are argc and argv?
2.3
What’s the odd expression with the ’?’ and ’:’ ?
2.4
What are #define, #ifdef, and #ifndef?
2.5
Why do .h files begin with #ifndef and #define?
2.6
What is a namespace?
2.7
What’s the difference between <string>, <string.h>, and <cstring>?
2.8
How do I convert a string to a character array (or a character array to string)?
2.9
How do I convert a string to a number (or a number to a string)?
2.10
How do you tell when a string search has failed?
2.11
What does the
assert
function do?
2.12
What is ptrdiff_t?
2.13
What is the difference between a pointer and a reference?
2.14
Can I have 2 functions with the same name?
2.15
What is the difference between a declaration and a definition?
2.16
What goes in a .h file? What goes in a .cpp file?
2.17
What is an inline function?
2.18
Why is operator++ sometimes declared with an int parameter?
2.19
Why do many functions come in pairs that are nearly identical except for a
const
?
2.20
I have other C++ questions.