Simple Sample Windows program

Eh, I've just moved to graphics from console. and i've been given a deadline... which sucks...

Can someone write me a very simple sample program?

Maybe something like create a 800x600 window with some random title and maybe a exit button that quits the program.

Can be in MFC or windows api. I'll learn whichever is used.

In exchange, i'll have your baby!
Last edited on
> Can someone write me a very simple sample program?

VC++ wizard does exactly this.
or tons of MSDN samples...
Last edited on
I prefer theForger's tutorial for my windows API needs.
http://www.winprog.org/tutorial/

It even has example code that seems to match what you're asking for pretty closely.
closed account (z05DSL3A)
averageGuy
Can be in MFC or windows api. I'll learn whichever is used.

Start with Windows API; once you know how it all works underneath, frameworks like MFC and WTL all become allot easier to get your head around. When push comes to shove, it all goes to the Windows API.

I would also recommend this book; Programming Windows®, Fifth Edition (Microsoft Programming Series) by Charles Petzold.
hello,
you can find here what u need,
there are alot of tutorials with easy explanation.
http://www.functionx.com/visualc/
Topic archived. No new replies allowed.