I want to get a string from user and stop when they enter "*". I think it can be done with do-while (right?) the problem is then I want to check the string character by character and do some stuff with it. my problem is that I don't know how to get the compiler to do something with the string letter by letter. I tried searching for it but didn't find anything. if you can help me with find a link to an example or giving me a simple example of how to do thing with string character by character I'll be really grateful.(the thing I wanna do is checking two simple if which there is no problem with) P.S I first wanted to use something like x[n] but since there is no way to know the n I don't think it's possible if there was a way to use that I had no problem with writing the code.