cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
How do I open a window?
How do I open a window?
Jun 17, 2008 at 9:31am UTC
tombert
(10)
I was trying to learn OpenGL, and do the first example, and I am able to do all of it except the "OpenAWindowPlease()" function.
I have no idea how to do that in MSWindows, since I come from a linux environment.
Can someone please show me the code?
Jun 17, 2008 at 9:56am UTC
closed account (
z05DSL3A
)
MSDN has got a a sample
[1]
that compares a X windows system OpenGL program to a Win32 port of the same.
HTH
[1] http://msdn.microsoft.com/en-us/library/ms537714(VS.85).aspx
Jun 17, 2008 at 11:13am UTC
Duthomhas
(13196)
If you are playing with OpenGL, you should also make yourself very familiar with
NeHe
's site
http://nehe.gamedev.net/
All the tutorials have source examples in C or C++ for at least Windows and *nix, plus other languages and platforms.
Jun 18, 2008 at 8:04pm UTC
tombert
(10)
I was actually able to use the premade one that came with Code::Blocks.
Works pretty well, I made a gravity engine for a block that bounces up and down.
Thanks for your guys' help.
Topic archived. No new replies allowed.