Well it compiles. Now the window will not stay open. It just opens and closes. I thought this was right.Code:#include <iostream> using std::cout; using std::end1; int main() { cout << "hello mike!" << end1; cout << "press enter key to exit!!" << end1; std::cin.ignore(std::cin.rdbuf()->in_avail()+1); return 0; }
What is going wrong?