diff --git a/README.md b/README.md index 312256071dce54a8579d9778720128684e77619e..9b2cf9cd19b9f1c3a37b07853b042261bf34be07 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ In order to be executable by a computer, the program has to be translated into m You can use the command -'g++ <source_code_file> -o <name_of_output_program> -std=c++11 -Wall -Werr' +`g++ <source_code_file> -o <name_of_output_program> -std=c++11 -Wall -Werr` This tells the compiler (g++) where to find the source code and how to name the resulting program. In case you omit the name of the output program the result will most likely be an executable file called "a.out". @@ -24,10 +24,10 @@ If your code does compile without these two options but does not compile with th A sample invocation of the command: -'g++ src/sample_4.cpp -o sample_4 -std=c++11 -Wall -Werr' +`g++ src/sample_4.cpp -o sample_4 -std=c++11 -Wall -Werr` And the sample program can then be run by calling -'./sample_4' +`./sample_4` in the console. \ No newline at end of file