JSP
JSP

Reputation: 11

How do I set screen size using winbgi? (without graphics.h, winbgim, but pure winbgi)

How do I set window size using winbgi?

Default window size is left half of my screen= Complile result

MY professor wants me to 'only' use winbgi

WinBGI& win = WinBGI::instance();
// then what??

winbgi does not include initwindow() that can set window size

int initwindow (int width, int height, const char* title="Windows BGI", int left=0, int top=0, bool dbflag=false, bool closeflag=true);

I've looked up the documention and I couldn't find one

bgi

I want to set BGI window size (height, width)

I am using Visual Studio 2022

Upvotes: 1

Views: 261

Answers (1)

Sid
Sid

Reputation: 51

Man, the education system is weird when your professors want you to use an extremely outdated version of a graphics library.

Upvotes: 0

Related Questions