PDA

View Full Version : C++ code need help



alexrat1996
14th February 2013, 15:01
write a program that ask the user for a name, adders,city,state,zip code and phone number and stores each in appropriate character arrays.Use the ignore function to flush the input stream between inputs.After the strings are stored in the arrays,print the information back to the screen in the following format:

name
address
city,state,zip Code
Phone number

Santosh Reddy
14th February 2013, 15:10
Do you want some one to write the program for you?

ChrisW67
15th February 2013, 01:17
That looks like a homework exercise: an assignment requiring the use of standard C++ streams (i.e. std::istream::ignore()) so a Qt-based solution would not be ideal. Should be trivial for someone that has been working with Qt 3, 4, and 5 in C++, Java, and Python, on Windows, Mac, Linux, phone and embedded systems.

wysota
15th February 2013, 09:58
Should be trivial for someone that has been working with Qt 3, 4, and 5 in C++, Java, and Python, on Windows, Mac, Linux, phone and embedded systems.
Especially if he already has that experience while being only 16 :)