I searched for it and found that I can't test a string in a switch (So I know that, no need to tell me).
I wonder if there is a relativly simple way to make system that works like a switch, or to modify the string to work whit a switch(like a char array or something(need an exaple)).
I'm making a program that test a string and if the string = some command then it goes to a function. The problem is that if I use the if statement I can't use the else command because I have multiple if statements. I hope you understand
This post has been edited by tim9009: 20 July 2011 - 07:18 PM