allright, i started this new thread, cause no one was looking at the old one anymore. but i cant get any of those switch answers you guys gave me to work. they were the string compare, and the y_n[4] thing. but i cant get any to work. help would be much apprecitated.
switch statement problem
Page 1 of 13 Replies - 1210 Views - Last Post: 15 May 2001 - 11:00 AM
Replies To: switch statement problem
#2
Re: switch statement problem
Posted 14 May 2001 - 03:28 PM
okay sloth, this is what you do...
if(strcmp(ans, "yes")==0)
{ temp();
}else if(strcmp(ans,"no")==0)
{
cout<<"thank you for visiting....."<<endl;
}
else
{
cout<<"ERROR!"<<endl;
}
got it?
(Edited by supersloth at 5:35 pm on May 14, 2001)
#4
Re: switch statement problem
Posted 15 May 2001 - 11:00 AM
yea, not half bad. little one(litteraly).
heheheheh. you are the same size as a grasshopper. heheheheheh.
heheheheh. you are the same size as a grasshopper. heheheheheh.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|