Añadido enter_id.cpp

Cambiados los defines de nombre de secciones y subsecciones
This commit is contained in:
2023-09-22 23:23:48 +02:00
parent 2e5f52d836
commit 337e6ed6cc
11 changed files with 490 additions and 108 deletions

View File

@@ -126,11 +126,9 @@ namespace jscore {
return score.size();
}
string getUserName(const int index) {
if (score.size()==0 || index >= (int)score.size()) return "";
return score[index].name;
}
const int getPoints(const int index) {
if (score.size()==0 || index >= (int)score.size()) return 0;
return score[index].points;
}