It is a good book, but as a reference--not to learn C++ from.
Sure but if anyone still knows about my other troubles than that might help.
The only trouble you mentioned is that you are having problems with structs.
One of the exercises requires you to write the days of the month into a structure type via user input. Now this isn't exactly too hard to do IMO but up to what you've learnt it never goes through how to write to structures.
That is trivial and doing something like that would be covered in any beginning C++ book(although they may skip structs since classes are identical except for one minor detail).
Code:
#include <iostream>
#include <string>
using namespace std;
struct BookInfo
{
string isbnNum; //can contain characters
double price;
};
int main()
{
BookInfo book1;
cout<<"Enter the isbn number: ";
cin>>book1.isbnNum;
cout<<"Enter the price: ";
cin>>book1.price;
cout<<"You entered: "<<endl
<<book1.isbnNum<<endl
<<book1.price<<endl;
return 0;
}
What you need is a beginning C++ book. In two months, you'll be doing almost anything you want:
http://www.amazon.com/gp/product/007...books&v=glance
What you've been doing so far is like trying to learn to drive a car by reading a manual describing how all the parts of a car work: the alternator, the catalytic converter, the air conditioning system, the drive train, etc., and then getting behind the wheel and not knowing how to start the engine, and when that failed figuring that if you reread the manual, it would come to you.