hi everyone i write a battleship game by using Win 32 Console Application on VC++ 6.0 and i want the console to be maximized when the game is started.It looks like some traditional games on console.Thanks for reading
hi everyone i write a battleship game by using Win 32 Console Application on VC++ 6.0 and i want the console to be maximized when the game is started.It looks like some traditional games on console.Thanks for reading
keybd_event can be used to simulate key presses. If you simulate alt+enter, you'll get a full screen.
My best code is written with the delete key.
when i include <window.h> it generates error.It can not be found.
>when i include <window.h> it generates error.It can not be found.
Bummer.
Oh wait, were you trying to ask a question? Perhaps "why doesn't this work?" or "how can I fix this error?"... If that's the case then I would recommend actually posting the error itself and not your own summary of the error.
My best code is written with the delete key.
Perhaps because it's
Just a thought.Code:#include <windows.h>