Kevin Dong
Kevin Dong

Reputation: 5369

How to change/get the font(-size) in the "Console Application" using Windows API or internal command without changing the registry directly?

I have searched in the MSDN, but nothing meet my needs.

Could anyone help me? THANKS.

#include <windows.h>
int main (void)
{
    // HOW TO ?
}

Upvotes: 1

Views: 1866

Answers (1)

alk
alk

Reputation: 70979

To get info on the console's font use:

To set font info use:

Upvotes: 2

Related Questions