File tree Expand file tree Collapse file tree 4 files changed +31
-6
lines changed Expand file tree Collapse file tree 4 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 1
1
tmp /*
2
2
wsjcpp-core
3
+ .wsjcpp /*
3
4
.vscode /*
4
5
* .log
5
6
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ script:
19
19
- ./build_simple.sh
20
20
- cd unit-tests.wsjcpp
21
21
- ./build_simple.sh
22
- - ./run_unit-tests
22
+ - ./run_unit-tests.sh
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,6 +6,33 @@ Basic utils for wsjcpp
6
6
7
7
* included helpers functions, logger and etc.*
8
8
9
- ## List of function:
9
+ ## Integrate to your project
10
10
11
- * createUuid
11
+ ```
12
+ $ wsjcpp install https://github.com/wsjcpp/wsjcpp-core:master
13
+ ```
14
+
15
+ Or include files:
16
+
17
+ * ` src/wsjcpp_core.h `
18
+ * ` src/wsjcpp_core.cpp `
19
+
20
+ ## List of static function:
21
+
22
+ ### createUUID
23
+
24
+ generation uuid but before you need call once ` WSJCppCore::initRandom(); ` (for example in main function)
25
+
26
+ ```
27
+ std::string sUuid = WSJCppCore::createUuid();
28
+ ```
29
+
30
+ ### readTextFile
31
+
32
+ Reading text files to std::string
33
+ ```
34
+ std::string sContent;
35
+ if (WSJCppCore::readTextFile("./file.txt", sContent)) {
36
+ std::cout << sContent;
37
+ }
38
+ ```
You can’t perform that action at this time.
0 commit comments