How to make c++ fullscreen (sort of) in vista :-

http://img167.imageshack.us/img167/4783/45870184ss2.jpg

Your screen should look like this :-

http://img518.imageshack.us/img518/6136/sshot3td7.png

Recommended Answers

All 9 Replies

You have to use win32 api console functions which you can not do with Turbo C or TC++ because that compiler is too old.

this way works for all dos programmes.

I thought you were asking how to do that in a C program.

Vista no longer supports the DOS subsystem. You'll have to find another VM (like DOSbox) to run 16-bit programs.

you mean this: I'm using Vista Home Premium

No, I mean ntvdm.

Notwithstanding, I don't have Vista and after reading some more on the internet it seems that Vista 32 does still have a working 16-bit emulator... (I think!) but Vista 64 does not.

In either case, Vista will be very hostile towards your 16-bit fullscreen application, so it is a good idea to get a good VM like DOSbox.

[EDIT] Re-reading the OP's original post, do you mean to say that pressing Alt-Enter in the command prompt doesn't switch you to a pure text-mode on the monitor?

>>[EDIT] Re-reading the OP's original post, do you mean to say that pressing Alt-Enter in the command prompt doesn't switch you to a pure text-mode on the monitor?

This is what you see on Vista when Alt+Enter is pressed.

DOSBox link

Hah hah hah.... whew...

lazy punks at M$

Another reason why I won't switch to vista...

you mean this: I'm using Vista Home Premium

You are on layout that will increase the sizr of cmd prompt but not C++, the only way is by increasing the font size in the fonts, for my 15.4" screen I choose Lucida Console 28 size.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.