Follow c++ naming convention

This commit is contained in:
2025-03-19 11:21:04 +01:00
parent 5f8cabb56a
commit 5b61f0e5d9
11 changed files with 40 additions and 51 deletions
+3 -3
View File
@@ -3,11 +3,11 @@
class FileHelper {
public:
FileHelper();
FileHelper() = default;
~FileHelper();
~FileHelper() = default;
static bool FileExists(char *path);
static bool fileExists(char *path);
};
#endif
+5 -3
View File
@@ -4,13 +4,15 @@
#include <string>
#include <vector>
using namespace std;
class FileReader {
public:
FileReader();
FileReader() = default;
~FileReader();
~FileReader() = default;
static std::string GetFile(char *path);
static string getFile(char *path);
};
#endif
+4 -3
View File
@@ -8,11 +8,12 @@ using namespace std;
class NumberHelper {
public:
NumberHelper();
NumberHelper() = default;
~NumberHelper();
~NumberHelper() = default;
static vector<int> GetNumbers(string csv);
static vector<int> getRolls(string csv);
};
#endif
+4 -4
View File
@@ -7,12 +7,12 @@ using namespace std;
class PrintFrames {
public:
PrintFrames();
PrintFrames() = default;
~PrintFrames();
~PrintFrames() = default;
static void PrintHeader(vector<int> rolls);
static void PrintValue(vector<int> rolls);
static void printHeader(vector<int> rolls);
static void printValue(vector<int> rolls);
};
#endif
+3 -3
View File
@@ -8,11 +8,11 @@ using namespace std;
class ScoreCalculator {
public:
ScoreCalculator();
ScoreCalculator() = default;
~ScoreCalculator();
~ScoreCalculator() = default;
static int GetScore(vector<int> rolls);
static int getScore(vector<int> rolls);
};
#endif