Home Download Buy Blog Forum Support

C++ Cin input

C++ Cin input

Postby Zaffa on Mon Oct 08, 2012 3:34 pm

When i compile a c++ program using the command+shift+b shortcut, and in the program there is a cin >> x line, it doesn't ask me anything, how can i fix it?

Thank you in advance.
Zaffa
 
Posts: 1
Joined: Mon Oct 08, 2012 3:32 pm

Re: C++ Cin input

Postby agibsonsw on Mon Oct 08, 2012 4:20 pm

I don't think the output panel can accept inputs (there is probably a more technical description for this). You might look into plug-ins that provide some kind of terminal/console interaction. Someone else might recommend one :?:

Otherwise, I assume it would be possible to re-direct input from a text file(?) for testing purposes.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 33 guests