Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
PineapplePen/player.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45 lines (35 sloc)
744 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef PLAYER_H | |
#define PLAYER_H | |
//#define KEY_D 36; | |
#include <iostream> | |
#include <sqlite3.h> | |
#include <vector> | |
#include <string> | |
#include <sstream> | |
#include <conio.h> | |
using namespace std; | |
class Sql | |
{ | |
private: | |
char* zErrMsg = 0; | |
int rc; | |
string sql; | |
string sql1; | |
char InputName[25]; | |
char Password[25]; | |
public: | |
bool value; | |
int Query(bool b); | |
int updateStrengthTable(); | |
int updateIntelligenceTable(); | |
int updateDehydrationTable(); | |
int updateWaterTable(); | |
int updateStaminaTable(); | |
int selectTable(); | |
//int selectPlayerTable(); | |
int updateBalanceCleaningTable(); | |
//int insertTable(); | |
void statementFunction(sqlite3* a); | |
bool statementFunction(sqlite3* a, string q); | |
}; | |
#endif |