We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80906e3 commit 0717344Copy full SHA for 0717344
headers/Management_Envoyer.h
@@ -13,8 +13,20 @@ void FPL_Print_Init(std::vector<std::string>& content_line_slitted, std::string&
13
std::string whatReplace = "envoyer ";
14
std::string print_content = replaceFPL(line, whatReplace);
15
16
-
17
// Envoyer
18
19
- std::cout << print_content << std::endl;
+ std::vector<std::string> vec = split(print_content);
+
+ int i = 0;
20
+ for (auto const e : vec) {
21
+ if (e == "/n") {
22
+ vec[i] = "";
23
+ std::cout << "\n";
24
+ continue;
25
+ }
26
+ std::cout << e << " ";
27
+ i++;
28
29
30
31
+ //std::cout << print_content << std::endl;
32
}
0 commit comments