docs - tutorial-programming-c.html consistency

This commit is contained in:
2026-08-31 19:02:49 +02:00
parent 587ad6b8ff
commit 0971530366
+1 -1
View File
@@ -148,7 +148,7 @@ int main(void) {
</li> </li>
<li>If you saved your program's source file somewhere other than your Home directory, switch to the directory in which you saved your program using the <i>cd</i> command. For example, <code>cd Documents</code>.</li> <li>If you saved your program's source file somewhere other than your Home directory, switch to the directory in which you saved your program using the <i>cd</i> command. For example, <code>cd Documents</code>.</li>
<br><li>Type '<code>gcc </code>' followed by your program's name, and then press enter. For example, '<code>gcc hello.c</code>'.</li> <br><li>Type '<code>gcc </code>' followed by your program's name, and then press enter. For example, '<code>gcc hello.c</code>'.</li>
<br><li>Run your program by typing "a.out" and pressing enter.</li> <br><li>Run your program by typing '<code>a.out</code>' and pressing enter.</li>
<br><li>You should see "Hello, World!" displayed in the Terminal window. Congratulations!</li> <br><li>You should see "Hello, World!" displayed in the Terminal window. Congratulations!</li>
<br> <br>
<img src="images/terminal-c.png" alt=""> <img src="images/terminal-c.png" alt="">