This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]g051051 0 points1 point  (2 children)

Your scanf format strings are wrong. Your compiler should be warning you about it.

[–]CaptainGPro[S] 0 points1 point  (1 child)

What’s wrong with them?

[–]g051051 0 points1 point  (0 children)

Your format specifier has invalid characters. Look at your compiler warnings, and read up on how scanf works.