Just remember that if you start using console I/O you will need to switch back to the old compiler environment or manually select "Run" / "Run in MSDOS Window". To do that, go to "Settings" / "Compiler Settings" / "Workspace", choose language "C++" if not already selected, select the "g++ - generic" environment and hit "Copy", remove "%CY" from the run command and give your environment a good name, "OK" the new environment dialog, select your new environment and hit "Use". My Professor had me download a file called. I already have jGrasp and use Java on it, but now Im learning C++. If your program does no console I/O, it may be OK to run without the external console. I need help getting C++ running on jGrasp. If you use Cygwin to compile, jGRASP will use a Cygwin psuedoterminal to connect to the program, and I/O will be through the jGRASP console, so one solution is for you to use Cygwin. We used to have the option of a connection that would run the program in debug mode and intercept console output, but that began to trigger a lot of virus checkers, so we removed it. This means that interactive command line prompts won't work, and you many not see any text output until a buffer fills up. If you don't use an actual console, your program will block buffer or at least line buffer I/O. The trouble with Windows is, there is no good way to connect one program to another using console-like I/O. You can do it, but you probably don't want to.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |