I am trying to build a clr app with a database (rpgcore.h) consisting of integers and string^s, as well as a few functions.
the auto-generated form1 is currently empty except for
#incude rpgcore.h
because i want to complete the database before actually displaying anything to the window. So, all my problems are in the rpgcore database. The database isnt complete but if these errors are fixed i should be able to complete it.
here is the rpgcore.h
//rpgcore.h
//contains the core rpg functions
/* start the database*/
namespace chara
{
namespace hero1
{
System::String^ name;
int hpmax[100];
int mpmax[100];
int rawatk[100];
int rawdef[100];
int level;
name = "Jacques";
level = 1;
}
}
Visual C++4
|