It depends, has your program written anything to stdout or stderr (std::cout or std::cerr)? If it has, did it have a newline ('\n', std::endl) at the end (not usually needed for stderr, but usually is for stdout)? Is your program sat waiting for input or looping doing nothing?
If you wrote something to stdout but never wrote a newline or flushed it then it would still be in a buffer waiting to be displayed, if your program never exits or is waiting for input you won't see the final message the geany prints to let you know the program finished. When your program exits the following should appear in the terminal window that was opened (the exit code could be different if you return non-zero from main or call exit with a non-zero value).
Code: Select all
(program exited with code: 0)
Press return to continue