File tree Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Original file line number Diff line number Diff line change 5
5
#include < vector>
6
6
#include < sstream>
7
7
#include < algorithm>
8
- #include " Management_Envoyer.h"
9
-
10
- // Utils
11
-
12
- std::vector<std::string> split (std::string& arg) {
13
- std::string myBuffer;
14
-
15
- std::vector<std::string> myVec;
16
-
17
- std::stringstream ss;
18
- ss << arg;
19
- while (ss >> myBuffer) {
20
- myVec.push_back (myBuffer);
21
- }
22
-
23
- return myVec;
24
- }
25
-
26
- std::vector<char > splitChar (std::string& arg) {
27
- std::istringstream iss (arg);
28
- std::vector<char > vec ((std::istream_iterator<char >(iss)), std::istream_iterator<char >());;
29
-
30
- return vec;
31
- }
32
-
33
- std::string replace (std::string& line, std::string& what) {
34
- std::string result = line.replace (line.find (what), what.length (), " " );
35
- return result;
36
- }
8
+ #include < iterator>
37
9
38
10
11
+ #include " Utils.h" // Utilitaires
12
+ #include " Management_Envoyer.h" // Pour executer: envoyer
39
13
40
14
// FPL
41
15
You can’t perform that action at this time.
0 commit comments