I'm new in programming. I run simple C++ program, like this:
#include <iostream>
int main(int argc, char *argv[]) {
std::cout<<"What?";}
by using the terminal by typing g++ Program.cpp
.
No error is returned after compiling, but the standard output is not shown on the line, which I think it sohould return What?
as typed after std::cout<<
.
What can be the cause why the standard output is not shown in terminal?