I've used DarkBasic Classic for a while now, so I'm not used to moving to the Visual C++ 2008 envirnment. I know how to declare Variables, Strings, and Arrays in C++, although when I take the code from C++ tutorials on various sites and try to compile it within Visual Studio 2008 it dosn't work.
After clicking New > Project Wizards > Game I have the whole set up in front of me. So now my first test with DarkGDK would be to go into main.cpp and declare some variables, strings, and arrays before moving on.
Ok, so to declare a variable I do:
int Hello=1;
dbMakeObjectSphere ( Hello,100 );
Alright, so that code works perfectly. Now to try a string:
string Hello="hello there";
dbPrint (Hello)
This code will not work. Darned. I'll try a Char statement instead.
char Hello="hello there";
dbPrint (Hello);
Alright I'm lost. I just can't figure out how to properly declare Variables and Strings here.
PHP Programming, Music Composition