Nobugz your a genius!!
Because scanf() would take both 'a' and 'enter' so it executes both 'case: a' and 'default'
Thanks!!!!
Another quick question if I may. When I declare 'keys', and just use char keys; , it says... "Run-Time Check Failure #3 - The variable 'keys' is being used without being initialized." So I have to give it an initial value (char keys = 'k'; for instance) to not get a runtime error. I have tried the same code on Xcode (on a mac) and it doesn't give me an error. Is this something that MSVCPP always has to have? (A value assigned before it is used)
Thanks again, Adam
Because scanf() would take both 'a' and 'enter' so it executes both 'case: a' and 'default'
Thanks!!!!
Another quick question if I may. When I declare 'keys', and just use char keys; , it says... "Run-Time Check Failure #3 - The variable 'keys' is being used without being initialized." So I have to give it an initial value (char keys = 'k'; for instance) to not get a runtime error. I have tried the same code on Xcode (on a mac) and it doesn't give me an error. Is this something that MSVCPP always has to have? (A value assigned before it is used)
Thanks again, Adam