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.
2 parents b94c142 + 9ce028a commit c2e4b0eCopy full SHA for c2e4b0e
build-n-run.cpp
@@ -74,7 +74,7 @@ int main(int argc, char** argv) {
74
create_directories(target.parent_path());
75
76
// https://stackoverflow.com/a/1003654/4247442
77
- string cmd = "tail -n +2 \"" + source.string() + "\" | g++ -o \"" + target.string() + "\" -xc++ -Wall -lstdc++fs -";
+ string cmd = "tail -n +2 \"" + source.string() + "\" | c++ -o \"" + target.string() + "\" -xc++ -Wall -lstdc++fs -";
78
if (system(cmd.c_str()) != 0) {
79
exit(1);
80
}
0 commit comments