What i need is if someone types in some word, it is stored in a string and get last two character of the string, and create some functions basing on those last characters, Such of if last two characters are "is" , some function. SO like that, I cant figure out how to do this, Please tell me how to and give me the code,
thanks alot, But can you give me the full code? with include and return if it doesnt have 2 character, Sorry im noob to c++ , I have experience in others. So please help
Aw... unfortunately that's one of the few things we'll refuse to do on this forum that's socially acceptable. We have a policy against giving out full solutions, which believe it or not is for the good of the people who need help. :/
Ok i figured it out thanks for not helping me, I gained some experience. And how can i convert this code into GUI instead of dos, without Basic (I use visual c++ 2005) anyway i could do it?
If you want to have a GUI, you'll need to get familiar with a GUI framework such as wxWidgets, Qt or gtkmm.
If you have a masochistic streak, you can have a GUI using pure WinAPI too.