this is ........ing me off just as much as you. y the heck isnt it working.
i did wat u said. And once again it isnt working. SRRY
main()
{
string firStr, lonStr;
int num, lon;
...
Type: Posts; User: bosredsox247
this is ........ing me off just as much as you. y the heck isnt it working.
i did wat u said. And once again it isnt working. SRRY
main()
{
string firStr, lonStr;
int num, lon;
...
then why isnt it? Some stupid mistake probably.
By the way, thanks for your time and help.
main()
{
string firStr, lonStr;
int num, lon;
printf("Please enter list of strings.\nAs a...
K got that but still need program to end when user types in end. Sorry i am new with strings. i am using while like this.
While(firStr!="end")
...
Is that right?
see, the thing is i have to print the string that is the longest. NOT the length of the longest string. Srry about confusement, or am i just being stupid?
I am doing C++ programming course and need some help on this assignment.
The assignment is to get strings from the user until end comes up and then return the longest string i am stuck and not sure...