Was wondering if there is a way to completely shut off that black external DOS window that appears briefly when you execute a .cpp file?
Yes there is.
Zeus is running the code using a macro.
Now the reason you see some flicker is because Zeus doesn't know if the executable you are about to run will be asking for user input.
Naturally it assume the worst and as such it displays a console window, expecting some user interaction.
But in your case the program run did not interact with the user, so all you see some flicker when the console window is created and destroyed.
To fix this edit the macro as follows:
Open a C++ file
Go to the Macros
section in the navigator panel on the left
Right click on the macro and select the View Source
You should see some code like this:
Code: Select all
# run the command as a MS-DOS command in a visible DOS window and wait for it to finish
flags = 16 + 32 + 64
# run the command which should be displayed in a DOS window
zeus.system(cmd, '', flags)
in those flag means this (as is also described in the Zeus help for the system
Code: Select all
-- 64 - run the program in a visible DOS session (otherwise runs hidden)
So change that flags like to be this:
But, naturally this will cause problems if you later decide to write a C++ executable that does ask the user for input.
Another alternative is to just add a tool definition to the C++ document type and use that to tool to run the executable.
The tools setup allows you to easily control the visibility of the running program.
And is there a way to change the font size in the output window?
Yes. Do the following:
1. Options, Editor Options
From the Display View
drop down list select all the different output views and change their fonts to suit.