A little chunk of code:
ClassGFX already has a char *Name;.
Is the command to create a new string for Name necessary, or will strcpy take care of that? Also, is that TempString correct, or do I have to add a /o after it to end it? (btw, I'm going to do some more with the TempString later)Code:ClassGFX::ClassGFX(const char *NewName, int Num)
{
char TempString[50]="GFX/";
Name=new char[strlen(NewName)];
strcpy(Name, NewName);
strcat(TempString,NewName);
}