16.01.2015, 15:21
new query[100];
public Testing()
{
mysql_format(DBHandle, query, sizeof(query), "INSERT INTO `test` VALUES ('','%s');",query);
mysql_tquery(DBHandle, query, "", "");
query[0] = '\0';
}
Whether it is possible to clear so everywhere (query[0] = '\0' it is possible to use so every time to avoid creation of every time new query[100]; ?
public Testing()
{
mysql_format(DBHandle, query, sizeof(query), "INSERT INTO `test` VALUES ('','%s');",query);
mysql_tquery(DBHandle, query, "", "");
query[0] = '\0';
}
Whether it is possible to clear so everywhere (query[0] = '\0' it is possible to use so every time to avoid creation of every time new query[100]; ?