Board index » cppbuilder » console application
troy hartman
CBuilder Developer |
troy hartman
CBuilder Developer |
console application2003-08-28 12:38:58 AM cppbuilder5 I am a beginning C++ student and have worked with the Borland Delphi 6 & 7 apps for Pascal. I just picked up Borland C++ Builder 6 and would like to keep working with this in the C++ class. My first question is how to open a CONSOLE APP and then after writing the basic program (let's say the good 'ol "HELLO WORLD!"), how do I make it pause (to show my output) after I RUN it. Appreciate any help, thamks. |
Remy Lebeau (TeamB)
CBuilder Developer |
2003-08-28 12:57:53 AM
Re:console application
"troy hartman" < XXXX@XXXXX.COM >wrote in message
QuoteMy first question is how to open a CONSOLE APP Quoteand then after writing the basic program (let's say the good 'ol Gambit --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03 |
Chris Uzdavinis
CBuilder Developer |
2003-08-28 01:35:11 AM
Re:console application
"troy hartman" < XXXX@XXXXX.COM >writes:
QuoteMy first question is how to open a CONSOLE APP and then after de{*word*81} will stop there. -- Chris(TeamB); {smallsort} |
troy hartman
CBuilder Developer |
2003-08-28 04:56:23 AM
Re:console application
Chris Uzdavinis (TeamB) < XXXX@XXXXX.COM >wrote:
Quote"troy hartman" < XXXX@XXXXX.COM >writes: |
Diego De Marco
CBuilder Developer |
2003-09-10 03:26:22 AM
Re:console application
Hi!
I'm working on a console application for HP/UX. This application displays its results in an old green-text terminal. I was wondering if there's any way to: 1) Change the location of the cursor (some sort of gotoXY()), so that I can display text anywhere on the console window 2) Change the text attributes (mainly to display inverse-video and "bold" text). Thank you very much in advance, Diego De Marco |
Kevin Dean
CBuilder Developer |
2003-09-10 04:00:05 AM
Re:console application
The short answer is yes; terminals respond to escape sequences that tell
them how to display text (bold, underline, cursor position, etc.) but I can't find the right reference for HP/UX for you. Enter your terminal type plus "escape sequence" in Google and you should find what you're looking for. You may be lucky enough to find a Java library that will do it all for you as well. -- Check out our latest white papers at www.datadevelopment.com/papers/index.html BladeNET Scores With Borland Enterprise Tools Team Development with JBuilder and Borland Enterprise Server Dolphin Data Development Ltd. www.datadevelopment.com/ "Diego De Marco" < XXXX@XXXXX.COM >wrote in message QuoteHi! |