Problem in running C++ in Windows Vista

Hitterman

International Coach
Joined
Dec 28, 2006
Location
India
Online Cricket Games Owned
I recently bought a new laptop with "Windows Vista Home Basic". When I tried to run c++, the program showed an error "Error running in full screen mode". When I pressed "Ignore", the program executed successfully but in windowed mode.

Any suggestions to make it run in full screen mode?
 
Last edited:
[FONT='Verdana','sans-serif']I recently bought a new laptop with "Windows Vista Home Basic". When I tried to run c++, the program showed an error "Error running in full screen mode". When I pressed "Ignore", the program executed successfully but in windowed mode.[/font]
[FONT='Verdana','sans-serif'] [/font]
[FONT='Verdana','sans-serif']Any suggestions to make it run in full screen mode?[/font]

Your problem is quite simple.Vista doesn't support full screen for DOS application.ou can increase it's size though.
 
No the size is fixed and it's not changing. I have also tried compatibility mode but nothing is working.
 
It has to be due to the Windows Vista Version. I remember doing stuff in Turbo C in Vista Ultimate, in full screen.

I suppose you need Vista Business, or Ultimate for this to succeed.
 
That's nearly impossible for me. Is there anyway by which I can run it in Fullscreen mode in Windows Vista Home Basic?

I don't think so I have that much money to buy a new Vista Genuine.:( Canyou do any registry magic Abhas?:hpraise
 
Even in Vista ultimate it has problems. Your best bet is to use the Microsoft Visual C++ compiler or some DEV C++.

I am not a professioanl programmer but I tried for VC++ 2008. Can you tell me one thing please?

In VC++, what we use instead of "clrscr();" i.e Clear screen ?
Does VC++ allow clear screen or not?
 
I am 100% sure. I tried this code in VC6.0.
Code:
# include <iostream.h>
# include <conio.h>
void main()
{
clrscr();
getch();
}

I selected for a "C++ Source File ".
 

Users who are viewing this thread

Top