Commit 5be392bc authored by Kevin Höllring's avatar Kevin Höllring
Browse files

Fix code snippets in

parent 0560aa3e
......@@ -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
in the console.
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment