My program is compiled and output is not shown


  • Hello, I'm new to  Microsoft Visual Studio. The program work well until yesterday I updated my window from windows 8 to windows 10. Even a simple program is failed to output.

    #include <iostream>
    using namespace std;

    int main()
     char data;
     cin >> data;
     cout << "success";
     return 0;

    The program was compiled successfully but blank in the console window.

    Tuesday, December 1, 2015 5:48 AM


All replies