i'll fix the age loop.
i'm stuck guys. if i enter more than one keyword she responds and dumps. example:
Code:
Please enter your name: can you please
Please enter your age: 9
Please enter (M) for male or (F) for female: m
Hello Can you please, my name is RoDBoT!
I see that you're a 9 year old male! I'm a 34 year old Female!
Enter Comment: can you please
Sorry, but i cannot do that.
Enter Comment: Press any key to continue
I attached the new cpp, the new txt files are below. Also, i have tried too add a check so that if no keyword is found it says it doesnt get it and calls the prompt function again, none have worked.
http://fileshack.netfirms.com/txt.zip
/*
i'm also adding a option, trying, that when he doesnt get it he adds the users string into a new txt. hopefully after a few convos peple will submit that txt to my email.
*/