c++ - Why cout is producing no output on Code Blocks? -


#include <iostream> using namespace std;  int main(int argc, char** argv) {      cout << "whatever";      return 0; } 

enter image description here

cout not work, nor printf, nor puts, nor anything. also, i've checked project properties , both debug , release set "console application" , "pause in end". makes no sense.

edit: also, i've tried flush endl before (no results).

i writing comment response: image shows option "-mwindows", removes console, said @ http://www.mingw.org/wiki/faq (mingw faqs)

how remove dos command windows?     in link step add "-mwindows" switch command line. 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -