summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-09-13 22:41:34 +0200
committerAotrix <[email protected]>2026-09-13 22:41:34 +0200
commit947f7476325f87e9b366acf69f2a0a2671fa4811 (patch)
treedb9b8f6edadb8363bc27948ecbaa717be7d970aa /main.cc
parentf78baa3500ac224e0d39dfefd2db69caea7f2def (diff)
create test function
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.cc b/main.cc
index ef15e6e..9030b12 100644
--- a/main.cc
+++ b/main.cc
@@ -1,6 +1,6 @@
#include <iostream>
-bool displayHello()
+bool configValue(const std::string& iKey)
{
bool result;
std::cin >> result;
@@ -16,11 +16,11 @@ bool coucouEveryone()
int main()
{
- if (displayHello())
+ if (configValue("aparam"))
{
coucouEveryone();
}
- if (!displayHello())
+ if (!configValue(""))
{
std::cout << "Mouhahahaha I am a villain!\n";
}