summaryrefslogtreecommitdiff
path: root/main.cc
blob: 9030b12994e9e59a93a096fd2fec8e9824766f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <iostream>

bool configValue(const std::string& iKey)
{
    bool result;
    std::cin >> result;
    return result;
}

bool coucouEveryone()
{
    bool result;
    std::cin >> result;
    return result;
}

int main()
{
    if (configValue("aparam"))
    {
        coucouEveryone();
    }
    if (!configValue(""))
    {
        std::cout << "Mouhahahaha I am a villain!\n";
    }
    int abc;
    return 0;
}