-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
35 lines (31 loc) · 1020 Bytes
/
Copy pathmain.cpp
File metadata and controls
35 lines (31 loc) · 1020 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
#include<bits/stdc++.h>
#include"include/StringUtils.hpp"
#include"include/FileUtils.hpp"
#include"include/TimeUtils.hpp"
using namespace std;
void PrintList() {
cout<<" [String] split / trim / toLower / toUpper / replaceAll"<<endl;
cout<<" [File] readFile / writeFile / fileExists / getExtension"<<endl;
cout<<" [Time] Timer / getCurrentTime"<<endl;
}
void PrintGuide() {
cout<<" Include the .hpp file you need, then call the function directly."<<endl;
cout<<" Example: StringUtils::split(\"a,b,c\", \',\')"<<endl;
}
void sayHello() {
cout<<"Welcome to Useful Functions for Programmers!"<<endl;
cout<<"Current time: "<<TimeUtils::getCurrentTime()<<endl;
cout<<endl;
cout<<"Function list:"<<endl;
PrintList();
cout<<endl;
cout<<"Guide:"<<endl;
PrintGuide();
cout<<endl;cout<<"We hope you have a good day :)"<<endl;
cout<<"Created by INFP-Coder."<<endl;
cout<<"Version 1.0.0 in 07/29/2026."<<endl;
}
int main() {
sayHello();
return 0;
}