I don't know if this code is rare, but I wanted your attention C++ Freaks! ^^
Now to the point, I want to write a program that I can command doing stuffs, like I write:"Count", and it says "Which arithmetic? Add, Sub,Div,Multi..". And I write that and so on. But I don't know what to write to make it do that, I know that CHAR is using for reading and writing CHARacters, but how doe I do to make it READ my WORDS and UNDERSTAND if "Count" goto counting-mode and so on. I have tried this noob code:
if(command == "Count")
goto count;
^
I think that code is a BIG LOL for most of you, but I think u get the point, what I want to do, I can write a command so I can do other things, please write an simple example how to create uhm.... whatever -> "Word-Commands". :- )
Many Greetings, A Noob Who Made His Own Mathcounter in C++!