I've got everything set up and it seems to be working just fine. I would like to know how to do a couple things that I am having a hard time with:
1. I've been using the dbText command to output text, but I don't understand how you can output a string from C++.
How would I write something like:
dbText (310, 200, $hello);
I'm more of a PHP scripter so I put in $hello, but how would you do this in Visual C++? The best guess I have is that you use #include <string.h> and do
string hello = "hello there";
and then do
dbText (310, 200, string hello);
or something, but of course as I am not completely familiar with the C++ language yet this isn't working.
2. with dbLoadImage, how do you load an image from a directory on your computer?
The kinds of things I want to do with DarkGDK include 2d or 3d world builders, so it is necessary to import from what the user selects. I need the dbLoadImage function to load an image from a $variable.
PHP Programming, Music Composition