In CLion getch() is waiting for pressing of Enter button in this code
#include <iostream>
#include <conio.h>
using namespace std;
int main() {
char c = getch();
cout << c;
}
How can I fix it?
In CLion getch() is waiting for pressing of Enter button in this code
#include <iostream>
#include <conio.h>
using namespace std;
int main() {
char c = getch();
cout << c;
}
How can I fix it?