bojiokia wrote:
I have started school for just 3 weeks,and totally new to c++,what i
learn is just cin n cout
How many books on C++ did you read? How many small projects did you try,
beyond your homework?
and i received this project, omg, i am totally lost in what the
question wanted me to input?
Please work only learning C++ first, and then post individual questions to
this newsgroup. Please only post text.
Your homework assignment asks you to paint a menu on the screen. You can do
that with cout. Then it asks you to fetch inputs. Do that std::getline(cin,
str), where str is of type std::string. (The book Accelerated C++ is best
for getting started with these types.)
The assignment asks you to store data. Store a structure in memory. Then you
print out the data, formatted. The assignment is helpful because the shape
of the data on the screen generally matches the shape it should take in
memory. (Most data is much harder to store!)
From here, like I said, try more small projects before trying this one, and
read _several_ C++ books.
--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand