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 55#include < vector>
66#include < sstream>
77#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>
379
3810
11+ #include " Utils.h" // Utilitaires
12+ #include " Management_Envoyer.h" // Pour executer: envoyer
3913
4014// FPL
4115
You can’t perform that action at this time.
0 commit comments