Can't type anything while running code in netbeans
Ok so I'm having troubles with netbeans. When I run the code I can't type
anything, i can only paste something and that's annoying. Let's just have
a very simple example, here's the code:
#include <iostream>
int main() {
int number;
std::cout << "Give me a number: " << std::endl;
std::cin >> number;
std::cout << "You gave me " << number << ". Thank you." << std::endl;
}
Ok when I hit run it shows me "Give me number". Under that text there is a
white box which becomes black when i click it and i can't type anything,
so only way to move forward is copying the number and the paste it.
No comments:
Post a Comment