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 11tmp /*
22wsjcpp-core
3+ .wsjcpp /*
34.vscode /*
45* .log
56
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ script:
1919 - ./build_simple.sh
2020 - cd unit-tests.wsjcpp
2121 - ./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
66
77* included helpers functions, logger and etc.*
88
9- ## List of function:
9+ ## Integrate to your project
1010
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