1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "programmer.h" int main() { _programmer jirou("Jirou"); for (int i = 0; i < 18; i++) jirou.birthday(); jirou.learn(_programmer::C); jirou.show(); for (int i = 18; i < 25; i++) jirou.birthday(); jirou.learn(_programmer::JAVA); jirou.show(); return 0; }