i have used debugger and try to debug simple program but no output appear in terminal
photo of the program:
i have used debugger and try to debug simple program but no output appear in terminal
photo of the program:
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?