hi Everyone.
I am new to this C++ forum and have recently made a basic MS DOS Promopt program by coding in Visual C++.
I have a problem... and I need urgent replies!! I appreciate anything and everything people do for me!
Problem:
My program says: "Please type your mother maiden name:"
Therefore, I have a variable called "mmname". But I declared the variable using "char mmname". So When I type:
cin << mmname;
All I get is the first letter of the name I typed. I know this is because I used CHAR... What am I supposed to use instead?
Many Thanks in advance.
Regards,
Only1Abhi!
I am new to this C++ forum and have recently made a basic MS DOS Promopt program by coding in Visual C++.
I have a problem... and I need urgent replies!! I appreciate anything and everything people do for me!
Problem:
My program says: "Please type your mother maiden name:"
Therefore, I have a variable called "mmname". But I declared the variable using "char mmname". So When I type:
cin << mmname;
All I get is the first letter of the name I typed. I know this is because I used CHAR... What am I supposed to use instead?
Many Thanks in advance.
Regards,
Only1Abhi!