|
From: Per W. <pw...@ia...> - 2007-07-19 14:11:53
|
He did send the source as an attachment, but did not clearly specify what problem he has with this school assignment. My guess is that he hasn't realized that he has to press Ctrl-C to end the program (or Ctrl-D if run on a Unix machine). /pwm On Thu, 19 Jul 2007, Adam Jones wrote: > >>Hello, > > >>I have a problem with this program: when a give the execute comand the > *.exe window opens but after I give the characters to switch as You can see > on the While comand : >>while ( cin >> ch ) I can't make the execution of > the program. > > >>There's a specific comand to give on the *.exe window for running the > execution after writing on it? > > >>Many Thanks > > >>Danilo > > Unfortunately I am not sure what you are asking. If the program is not > large, post the source code. How do you know that the code is not running?? > Maybe it is running, but you haven't paused executive so you can see the > output. If you don't pause the executive the cin will get the input, the > program will do what it has to do and then close the console window. > > -Adam Jones > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |