0

i have used debugger and try to debug simple program but no output appear in terminal

photo of the program:

1

ForceBru
  • 43,482
  • 10
  • 63
  • 98

1 Answers1

0

If program was well compiled - then you are a victim of buffered stdout stream, that is used by default with printf function.

Changing call to add \n at the end will solve the problem for you. printf("your tex\n").

See this SO post to understand background: Why does printf not flush after the call unless a newline is in the format string?

unalignedmemoryaccess
  • 7,246
  • 2
  • 25
  • 40