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 / Using main() with DarkSDK() programs and A WRapper Library for Dark SDK

Author
Message
Dark Intruder
19
Years of Service
User Offline
Joined: 6th Jan 2005
Location:
Posted: 7th Jan 2005 05:38
Hi All,

If any of you wish to use main() with DarkSDK programs you cna use the following code snippet


this code is a part of a OO wrapper library i am working on for DarkSDK .. It supports automatic reference counted smart pointers so that you do not have to delete any pointer allocated by new.

Also I have added a few handy classes like an Automatic ID generator which generates integer ids and keeps track of which ones have been released and reuses them



hope to share the code with the community soon...

In Order To Understand Recursion One Must First Understand Recursion
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 13th Jan 2005 05:30
loking good, i shall try it when i have my laptop set up and working :d

If i dont know,
I'm sure you will

Login to post a reply

Server time is: 2024-11-18 23:49:40
Your offset time is: 2024-11-18 23:49:40