- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.cpp
More file actions
Latest commit
20 lines (16 loc) · 619 Bytes
/
Copy pathexample.cpp
File metadata and controls
20 lines (16 loc) · 619 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include"include/typecode.hpp"
intmain() noexcept {
std::string x = "$%///*++;%////*++;///++++;///*++;///*+++;-%////*;$@/*+;+++;///;@?%++;?";
TypeCode q;
q.init(x);
std::cout << "\x1b[0;93mLanguages\x1b[0m:\n";
for(auto& language : q.info_languages) {
std::cout << "" + language << '\n';
} std::cout << "\n\x1b[0;92mBranches\x1b[0m:\n";
for(auto& branch : q.info_branches) {
std::cout << "" + branch << '\n';
} std::cout << "\n\x1b[0;92mOperating Systems\x1b[0m:\n";
for(auto& os : q.info_operating_systems) {
std::cout << "" + os << '\n';
}
}