I'm a beginner to C++, but not to programming. I understand the stringstream function and what it does. However, I copied the code on the I/O Functions screen early in the tutorial (it is a program that does a getline for price and quantity and is supposed to return the total price, demonstrating stringstream) both on my own and directly from the tutorial, and the line at the end that is supposed to calculate price*quantity always prints 0. I use Microsoft's Visual C++ 6.0 Enterprise Edition, but I don't have the manuals anymore. Could my keywords be slightly different?
It might be that you are using an old version of Visual C++.
From what I know, you can get an express edition which is the latest version and it's for free. I might try that or use a different compiler like DEV-C++, gcc, etc.