i am writing a program withh c++ using winapi, mingw using option -mwindows to link

when i run the program in my dev.environment (eclipse), 'cout' work.

when i run the program .exe file in command prompt (old DOS prompt, found under startmenu/extras), 'cout' doesnt do anything.

is there a way to get the program to write onto the command prompt and also receive input ('cin')

thanks

asta