I'm using borland c++ compiler, using windows xp professional.
I'm trying to change text sizes... But umm... I have no idea how, or if its possible. Anyone have any idea?
I'm using borland c++ compiler, using windows xp professional.
I'm trying to change text sizes... But umm... I have no idea how, or if its possible. Anyone have any idea?
Code:Error W8057 C:\\Life.cpp: Invalid number of arguments in function run(Brain *)
Is this a console or GUI project?
To code is divine
Console project.
Code:Error W8057 C:\\Life.cpp: Invalid number of arguments in function run(Brain *)
Depends, are you running Vista?
Ah ha! No!
From C to shining C++!
Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
- Bubba
IDE and Compiler - Code::Blocks with MinGW
Operating System - Windows XP Professional x64 Edition
Well console windows DO have font properties. All i can say is maybe look at GetCurrentConsoleFontEx and SetCurrentConsoleFontEx on MSDN.
edit:
Also look at CONSOLE_FONT_INFOEX. It has a COORD dwFontSize with X as width and Y as height (in pixels i think). There is also other things like UINT FontWeight which can be used to make the font bold.
Not sure if any of this works as all i did was look in http://msdn.microsoft.com/library/de..._functions.asp
edit:
after looking at the MSDN entries, they seem to be new additions for Vista. Looks like everyone needs to go buy Vista so we can make console apps with custom fonts ;P
Last edited by Syneris; 01-04-2006 at 09:38 PM.
I know that, but SetCurrentConsoleFontEx requires Windows Vista, as does CONSOLE_FONT_INFOEX thought not CONSOLE_FONT_INFO. Getting the font does you no good.
From C to shining C++!
Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
- Bubba
IDE and Compiler - Code::Blocks with MinGW
Operating System - Windows XP Professional x64 Edition