Groovy hepcat Matthew Clark jived with All on 07 Apr 98 16:12:33!
BC++ v5.0's a cool scene. Dig it!
MC> Hello all, i just bought a copy of borland c++ version 5.0 and I have
MC> a question or two.
Well, I use a diferent compiler and will be of little help to you,
but...
MC> If I would make a simply console program that simply outputted some
MC> results, as I often need to do in my C++ class, Turbo C++ would
MC> compile the program into a console app that would run, terminate, and
MC> remain on the screen inactivly until I closed it. With BC5, the app
MC> closes as soon as it teminates, so I do not get a change to see my
MC> output.
MC> A second question, I noticed that it now makes simple console programs
MC> into DOS programs instead of windows programs, this is great, but is
Both of your questions are related. The reason your program does not
stop after execution as it did for those compiled with Turbo, I would
expect, is because the new compiler is compiling DOS programs instead
of Windows programs.
To remedy this, try compiling as Windows programs. Sound simple?
Yes, I knew it would. However, I don't know how to do it with your
brand of compiler. I assume it does target Windows console
applications. You'd know that better than me. The problem is simply
that you're not telling the compiler to make a Windows program. You
are, whether you know it or not, inadvertantly telling it to make a
DOS application instead. RTFM, and learn how to use your compiler.
Wolvaen
... The electric chair was invented by a dentist? It figures!
--- Blue Wave/RA v2.20
---------------
* Origin: The Gate, Melbourne Australia, +61-3-9809-5097 33.6k (3:633/159)
|