Hi Guys,
 
Need some urgent help. I'm working on uclinux. I started with a simple program 
as below:
 
int main (void)
{
    int iTemp = 0;
    string input = "";
  
   cout <<"Enter a value:\n";
   getline(cin,input);
   cout<<"value:" << input << "\n";
   return 0;
}
 
The program get compiled using eclipse and run successfully. However one weird 
thing is that, the program wouldn't wait for user 
input. I tried with cin>>input as well. Any advice?
 
Thanks


      
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to