Raja
2014-10-22 13:53:20 UTC
While debugging a sample C++ program in netbeans I am unable to continue the process at from cout statement. cout output is not visible anywhere and cin is not taking input.
Code:
int main(int argc, char** argv) {
int switchVar = 0;
cout<<"enter a number"<<endl;
cin>>switchVar;
switch(switchVar)
{
}
Process is not moving from cin statement and I don't know where to give switchVar value. Do i need to change any settings?
Program is working good while running.
[/img][/code]
Code:
int main(int argc, char** argv) {
int switchVar = 0;
cout<<"enter a number"<<endl;
cin>>switchVar;
switch(switchVar)
{
}
Process is not moving from cin statement and I don't know where to give switchVar value. Do i need to change any settings?
Program is working good while running.
[/img][/code]