Differences between version 21 and previous revision of C.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 21 | Last edited on Thursday, September 23, 2004 5:43:39 pm | by AristotlePagaltzis | Revert |
Older page: | version 20 | Last edited on Thursday, September 23, 2004 5:41:45 pm | by AristotlePagaltzis | Revert |
@@ -20,9 +20,9 @@
I recommend you learn [C], and use it for writing OperatingSystem~s, and understanding how things actually are implemented, but then code in some other ProgrammingLanguage if you are going to write applications, especially networking programs.
----
-The following example is a program to approximate the value of pi (
Compile it with __
gcc -traditional-cpp -o pi pi.c__)
. If you want a better approximation, increase the program's source code area. <tt>:)</tt>
+The following example is a program to approximate the value of pi.
Compile it with <tt>
gcc -traditional-cpp -o pi pi.c</tt>
. If you want a better approximation, increase the program's source code area. <tt>:)</tt>
<verbatim>
/*
* Program to compute an approximation of pi