-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselfIntroduction.cpp
More file actions
61 lines (53 loc) · 1.58 KB
/
Copy pathselfIntroduction.cpp
File metadata and controls
61 lines (53 loc) · 1.58 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;
void welcome() {
string name;
cout << "Your name: ";
cin >> name;
cout << "Hi, " + name + ".\n";
cout << "Welcome to Jingze Dai's self introduction.\n";
cout << "\n";
}
void introduction() {
cout << "Hi, my name is Jingze Dai. \n";
cout << "I am forth-year computer science coop student from McMaster University. \n";
cout << "I have 2 years of Python, Java, C and C++ learning experience. \n";
cout << "I learn a lot about Scala, Ruby and Haskell. \n";
cout << "I am good at web programming (CSS, Javascript, Node.js, React.js and HTML). \n";
cout << "I am interested with computer graphics so I learn OpenGL (glut library with C++) and Unity. \n";
cout << "Other things: \n";
cout << "Professional tools: Git, JSON, Unit Testing. \n";
cout << "Assembly languages: MIPS32, NASM. \n";
cout << "Database and Data Science: Oracle, MATLAB, SQL. \n";
cout << "Linkedin Webpage: https://www.linkedin.com/in/jingze-dai/ \n";
cout << "Github Webpage: https://github.com/daijingz \n";
}
void mygithub() {}
int main() {
bool wantToReplay;
string yesorno;
string github;
welcome();
introduction();
cout << "Do you want to see my github ? ";
cin >> github;
if ((github == "yes") || (github == "Yes")) {
mygithub();
}
cout << "Do you want to see again? ";
cin >> yesorno;
if ((yesorno == "yes") || (yesorno == "Yes")) {
wantToReplay = true;
}
else {
wantToReplay = false;
}
if (wantToReplay == true) {
main();
}
else {
return 0;
}
}