Is there a way to set the window of a program to a certain size?
It can be in c++ if not possible in c.
Is there a way to set the window of a program to a certain size?
It can be in c++ if not possible in c.
With the X window system you can use XResizeWindow().
I'm not sure if that's at all what you're asking, though, so if not, please ask a more specific question.
Well Im trying to make my window for a console a certain size because Im trying to make a space invader game.
The easiest way is to make your window for your game, (ie. run your game), then right click on the top bar of the window, and select "defaults" from the pop up menu.
Now go to "layout" tab, and select the "full size" window option on the right hand side. Click apply and OK. It will ask if you want to use this setting for just that window instance, or for any window instance with this name. Choose the latter.
Then close and re-start your game.
There are a few other ways to do this, as well. This is just one simple way.