-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasics.cpp
More file actions
36 lines (29 loc) · 713 Bytes
/
basics.cpp
File metadata and controls
36 lines (29 loc) · 713 Bytes
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
#include <iostream>
#include <string>
using namespace std;
string testing {"\u0444"};
string &testing_ref = testing;
string poop = "";
string top_row[3] = {"-","-","-"};
auto skadonk(){
struct ploop {
string s{"poop"};
string p{"slgja"};
};
ploop ploopy_struct;
return ploopy_struct;
}
int main() {
cout << testing_ref << "123123123123123123123123123123123123123131231231231231312312312312231231213123123123123123123123123123123123123";
cin >> poop;
auto plop{skadonk()};
cout << plop.s;
cout << poop ;
for (int i = 0; i <=(sizeof(top_row)/sizeof(string)) ; ++i) {
cout << i << "\n";
cout << top_row[i];
}
cout << "♣ " << endl;
cout << testing;
return 0;
}