Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Dark GDK Fresh Intall No Cirlces, Dots, Lines ETC showing after compile

Author
Message
Whitewolf007
14
Years of Service
User Offline
Joined: 8th Jan 2010
Location:
Posted: 8th Jan 2010 08:53
Okay so I am in a class and i'm working out of the book Games & Graphics in C++

The second basic program in this book shows you how to get Dark GDK to draw a couple of circles in a box.

I compile it with no errors but nothing shows up in the box. As far as I know other people in my class are having this same problem and it may have to do with DirectX. I installed the august 2009 directx update, Visual C++ 2008, Dark GDK, patch 7.4. I'm running Windows 7 64 bit. Since regular text shows in the box I really think it has to do with Dark GDK not finding directx or something. Here is the code.

Aldur
16
Years of Service
User Offline
Joined: 8th Oct 2007
Location: Melbourne, Australia
Posted: 8th Jan 2010 10:00
Where is your code to actually draw a circle/dot/line?
Is that snippet the whole thing?

Also do you have the old DX SDK installed? Nov 2007 I think it might be.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 8th Jan 2010 11:20
maybe, you didnt write any drawing function?..
this code will just wait till you press 4 keys and then it stops

if you want dots/lines/circles/boxes use


Login to post a reply

Server time is: 2024-10-01 20:21:53
Your offset time is: 2024-10-01 20:21:53