im writing a windows api using mingw with -mwindows and i use eclipse as my editor/compiler/debugger.
in my code, i use "cout" to print messages.
when using eclipse, the messages print on the 'console' window, but only after the program has ended !!!
when i run the program in a command window, there is no printing at all.
please tell me, what makes the printouts come so late. i mean, why the printout only shows after the program ends and not during.
and maybe which way is most convenient other than that to print debugging messages for myself to see during the program.
thank you very much