mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
21 lines
319 B
C++
21 lines
319 B
C++
#include <string>
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
std::string wow;
|
|
size_t position = 0;
|
|
|
|
// Need to escape quote with a double of ".
|
|
while (position < wow.size()) {
|
|
if (wow.at(position) == '\"') {
|
|
wow.insert(position, "\"");
|
|
position++;
|
|
}
|
|
position++;
|
|
}
|
|
|
|
std::cout << wow << std::endl;
|
|
|
|
return 0;
|
|
}
|