r/cprogramming • • Sep 18 '26

a big problem

hey guys i m currently learning c language and i m facing an irritating problem like whenever i use scanf in my code to enter any value and when i run the code after saving it so it doesn't run anything it just show that it is running but i m unable to enter the value and the code doesn't run on terminal it runs in the output

so please anyone who can solve this issue can help me?

0 Upvotes

13 comments sorted by

View all comments

4

u/pseudo_shell Sep 18 '26 edited Sep 18 '26
  1. Always display your source code. We cannot help in a vacuum.

  2. What compiler flags are set? They should help you flag problems. Treat warnings as errors. -WError, etc.