void MySQL::deleteRow(char* table, int id){
char query[255];
sprintf_s(query, 255, "delete from %s where ID='%d';", table, id);
mysql_real_query(&maple_db, query, strlen(query));
}
void MySQL::PointerError(){
char query[255];
sprintf_s(query, 255, "update Characters set map='100000000' where map='999999999'");
mysql_real_query(&maple_db, query, strlen(query));
}
LoginPacket::loginConnect(player, username, usersize);
MySQL::PointerError();
static int getSkills(int id, int skills[200][2]);
static void PointerError();
#include "MySQLM.h"
I know its not coded the same.
Its still the same concept. And its still here. His works just fine
So don't say copy and paste = ="
Atleast i'm trying to help MS Source.
Ignore him and move on, he is expressing their opinion. Don't be put down by it. Thanks again!
I like this one better as well, You can always rely on IF statements