theonetruepath
theonetruepath

Reputation: 111

How to get bigger window in Embarcadero console apps

I'm using Embarcadero C compiler (under Windows 7) to create console apps.

An earlier version I was using allowed me to set the size of the window under Windows, and it would happily address whatever size I set (using gotoxy etc). In the latest version (which I use because it's 64-bit capable), it seems to be fixed at 50*80 (from memory) which is way smaller than I need.

Question 1: How do I set the maximum size of the console window in the Embarcadero C library?

One of the other reasons I'm using Embarcadero, rather than say Microsoft's Visual Studio (VC), is that I like to run the compiler from the command line without firing up the IDE.

Question 2: Can I use Visual Studio (VC) in that command line mode instead?

I need to be able to use a console window of at least say about 180 columns, 120 rows.

Upvotes: 0

Views: 90

Answers (2)

Bruce Gennette
Bruce Gennette

Reputation: 1

Follow the steps:

  • Run something to get the console to appear
  • Right click the Console title bar
  • Click Defaults
  • In the Window Size box set the desired width and height
  • Click Ok
  • Gets kept as new default console size.

Upvotes: 0

theonetruepath
theonetruepath

Reputation: 111

OK I gave up on Embarcadero addressing more than 80 columns in console windows. Too hard/impossible. I switched to Microsoft which allows addressing whatever number of columns your console window has defined. Thanks @Scheff for pointing out it's fairly easy to run 'CL' from the command line once you start your console window from the model-specific shortcut they provide.

Add a day of mucking around getting the 'gotoxy' and 'clrscr' routines (and the interrupt handling routines) translated etc and I'm up and running again.

Upvotes: 1

Related Questions