format c 2b 2b discord

Solutions on MaxInterview for format c 2b 2b discord by the best coders in the world

showing results for - "format c 2b 2b discord"
Roberta
23 Jun 2017
1```c++
2// Code here
3```
Sofia
02 May 2019
1	int GetTribePoints(int Tribe_Id) override
2	{
3		int TribePoints;
4		try
5		{
6			TribeDatabase << "SELECT TribePoints FROM TribePoints WHERE TribeId = ?;" << Tribe_Id >> TribePoints;
7			return TribePoints;
8		}
9		catch (const sqlite::sqlite_exception& exception)
10		{
11			Log::GetLog()->error("({} {}) Unexpected DB error 10{}", __FILE__, __FUNCTION__, exception.what());
12		}
13	}
14
15	bool SetTribePoints(int Tribe_Id,  int TribePoints) override
16	{
17		try
18		{
19			TribeDatabase << "UPDATE TribePoints SET TribePoints = ? WHERE TribeId = ?;" << TribePoints << Tribe_Id;
20			return true;
21		}
22		catch (const sqlite::sqlite_exception& exception)
23		{
24			Log::GetLog()->error("({} {}) Unexpected DB error 11{}", __FILE__, __FUNCTION__, exception.what());
25			return false;
26		}
27	}