using namespace std;
class Me {
private :
string _Pseudo = "G1an";
string _Name = "Noah G" + (_Pseudo ? "i" : to_string(1)) + "ancarlo Steiniger Rubiero";
int _Age = 20;
int _YearsAtEpitech = 2;
vector<icons> _Languages = ...;
vector<icons> _Competences = ...;
public :
void showLanguages(self) { std::cout << self._languages << std::endl; }
void showCompetences(self) { std::cout << self._competences << std::endl; }
}
int main (int ac, char *av[])
{
// creation of myself
Me G1an;
if (ac < 2)
return 84;
for (int i = 0; av[i]; i++) {
if (!av[i].compare("--languages")) {
std::cout << "The languages i'm confident using for a job offer :" << std::endl;
G1an.showLanguages();
}
if (!av[i].compare("--competences")) {
std::cout << "The competences i can fluidly use :" << std::endl;
G1an.showCompetences();
}
}
return 0;
}
// terminal
$--> make
$--> ./myself --competences --languages