ok what i need to write for getch , not std , but what ? (if i want to remove the .h)Code:#include <iostream> #include <conio.h> int main() { int number; std::cout << "Please enter a number:"; std::cin >> number; std::cout << "You entered: " << number << endl; std::cout << "Press any key to exit"; getch(); return 0; }
and << endl; gives me an error .. dunno why , it says 'operator <<' is ambiguous