You are not logged in.
There are actually two problems:
First: When I use codeblocks to debug my code, gdb throws a warning message: warning: GDB: Failed to set controlling terminal: Operation not permitted
and I have already google a lot, but nothing what I found can be helpful.
Second; why I can't see any output if I just use printf in my program
like this:
if I use printf("abc"); when I run the program, gnome-terminal shows nothing.
however if I use printf("abc\n"), gnome-terminal shows correctly. I do really don't quite understand what kind of event can lead to this phenomenon. And how
I can adjust it into a normal state.
Offline
Hello.
Did you manage to fix this?
Offline