Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Borland C++ 5.02 -- Problem with Displaying Output

623 views
Skip to first unread message

John Wickham

unread,
Mar 30, 1998, 3:00:00 AM3/30/98
to

Platform: Win95
Software: Borland C++ 5.02

Problem: How can I configure the compiler to keep the output up after I

compile and execute my *.cpp file? I am writing
programs for
my classes in data structures and computational
statistics, and
most of the output is more than one screen width, and I
dont know
how to configure the compiler to keep it in "buffer" so
I can view
the output of the program i wrote.

I used to have Turbo C++ 4.5, and after compiling the file, the output
would
stay open in the DOS window. Now with 5.02 it promptly closes the
window
after execution.

I am a college student, using C++ in some of my programming classes, and
it
would be a great help if someone could tell me how to configure the
compiler
so it would keep the output displayed.

Thanks. Go Gators!!


Tony (Borland)

unread,
Mar 30, 1998, 3:00:00 AM3/30/98
to

First, this is not an installation issue, nor is this a question about
C++ Builder.

Run your program from a DOS shell or use an input statement in your
output loop.
It is also possible to change the settings of your conagent file, but
this is not recommended because your DOS windows may not close properly.

Michael P. Broida

unread,
Mar 30, 1998, 3:00:00 AM3/30/98
to

Hi!
What I do (on other systems) is run it in the debugger,
then set a breakpoint on the last statement in my main
program. That keeps the output window "alive" until I
have time to look at it. Then I say "Go" one more time
and it finishes up.

Mike

John Wickham

unread,
Mar 31, 1998, 3:00:00 AM3/31/98
to

Michael -- Thanks!! That did the trick for me, thanks for taking the
time to post an answer for me, its appreciated.

Tony(Borland) -- While I recognize that this is not an installation
issue, or a question about CBUILDER, it was what your company
recommended I do when I called them the day I posted this message.
Borland doesn't have any other technical support options available to
individual users (unless I wanted to, or could afford the $3.95/min
phone tech support line) in my position. Thanks for posting your answer
to the problem, but it went over my technical ability to understand what
you were trying to tell me.


John Wickham

unread,
Mar 31, 1998, 3:00:00 AM3/31/98
to

Tony (Borland)

unread,
Apr 3, 1998, 3:00:00 AM4/3/98
to

I strongly encourage you to post questions such as these in the
newsgroups. The appropriate forum for this particular type of question
would have been borland.public.cpp.ide.

0 new messages