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 / Noticeable Differences - DarkGDK Release for VC2008 Much Cleaner!

Author
Message
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 23rd Dec 2007 05:15
Wizards? Awesome!

Linking? Alot less warnings and directx errors as far as I can tell so far.

Warning! Use "string.h" and not <string> if you need string functions! (Caused me hard to resolve linking errors...boilded down to this)

Overall? Looks like this might be a tighter version of DarkGDK C++

Pharoseer
17
Years of Service
User Offline
Joined: 21st Feb 2007
Location: Right behind you
Posted: 23rd Dec 2007 07:33
Quote: "Warning! Use "string.h" and not <string> if you need string functions!"


And I went and starting writing my own string class. Now I can save time and energy.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 23rd Dec 2007 15:35 Edited at: 23rd Dec 2007 15:42
Here's the one I use - its home brew - uses some of the "string.h" functions - but I like it. You can use its functions and also directly access the actual sz pointer: MyString->s <--- char *

Example Usage:


Check it out - is small and to the point

(I have some home brew dynamic double linked lists to - binary sorting and I'm adding Alpha sort this morning)

[edit]added "new JFC_STRING()" to code snippet...forgot that [/edit]

[edit]Fixed EqualCS and Equal... just added Case Sensitive version this mornign - had a tiny oops - all set now 2007-12-23 9:42am EST [/edit]

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-19 20:19:49
Your offset time is: 2024-11-19 20:19:49