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.
You can try to change the console type :
Right click on your project > Properties > Run > Console Type
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With