I get a compile error on tryine to set the digittogether = "123". I hard coded the digittogether because the if didn't seem to be working, so I assume I'm doing something wrong with the setting and the compare. What is this newbie missing with my vars?
Thank you but I still want to know how to set a char var in code.
I've tried digittogether = '123';
How do you set a char var?
I'm looking up the function for the compare - thank you
The scanf () did allow me to do the comparison - THANK YOU!
Through I'd still like to know How do you set a char in code. Or is sprintf () the best (only) way. I've seen in the references how to declare the char with a value, but how to set it in code?