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? I would like to set Zeus up so that my output goes directly to the white window since I like that much better.
And is there a way to change the font size in the output window?
Two questions about Zeus
Re: Two questions about Zeus
Yes there is.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?
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:
1. Open a C++ file
2. Go to the Macros section in the navigator panel on the left
3. Right click on the macro and select the View Source code option
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)
Code: Select all
-- 64 - run the program in a visible DOS session (otherwise runs hidden)
Code: Select all
flags = 16 + 32
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.
Yes. Do the following:And is there a way to change the font size in the output window?
1. Options, Editor Options menu
2. Fonts Panel
3. From the Display View drop down list select all the different output views and change their fonts to suit.
Cheers Jussi
Re: Two questions about Zeus
Okay I got the font sizes looking bigger and nicer. Works good. I shut off that external DOS window also, but as you mentioned when I write a program that asks for user input things don't work again.
Isn't there a way to have the user enter his input in the same white output window that the program displays the program output? I have done this in other code editors like Crimson Editor. I never have to use that external DOS window at all.
Just wondering.
Thanks.
Isn't there a way to have the user enter his input in the same white output window that the program displays the program output? I have done this in other code editors like Crimson Editor. I never have to use that external DOS window at all.
Just wondering.
Thanks.
Re: Two questions about Zeus
Isn't there a way to have the user enter his input in the same white output window that the program displays the program output?
That is possible if the editor redirects the user input.
Unfortunately Zeus does not have that feature

Cheers Jussi
Re: Two questions about Zeus
The latest version of Zeus does allow the user to interact with the running tool by using the Zeus output window.I would like to set Zeus up so that my output goes directly to the white window since I like that much better.
Cheers Jussi