Skip to content

Commit

Permalink
Update Pizzaiolo.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexgamer authored May 3, 2022
1 parent 43cf55b commit 7fdfc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pizzaiolo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ int main()
}
for (const auto& entry : fs::recursive_directory_iterator(cartella)) { //it gets the path of the files inside the folder
percorso = entry.path().string();
if (inizio == "\"") {
//if (inizio == "\"") {
percorso = "\"" + percorso + "\"";
}
//}

while (argomenti.find("perin") != string::npos)
argomenti.replace(argomenti.find("perin"), 5, percorso); //it replace "percorso" with the file path
Expand Down

0 comments on commit 7fdfc38

Please sign in to comment.