|
-
Sep 7th, 2003, 02:45 PM
#1
Thread Starter
Not NoteMe
Vb <--> C++ Dll
Not sure whether to put this in the VB forum or the C++ one, so it's in both. 
Hi all, i've made a program that using AI can play any tic-tac-toe style game.
This works fine, but is extreamly slow. I decided to use C++ to speed up a lot of the code, using VB for the UI.
My base data structure, is a game-position. To learn the game, i'm using a binary-tree, that's emulating a k-ary tree by using nodes named 'sibling' and 'child' (instead of 'left' and 'right').
I want my C++ DLL to be able to construct the tree as the user makes their moves. So i need some way of 'remembering' the tree in the dll (and being able to add to it in the dll).
Is this possible??
Thanks in advance.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|