File input/output: Difference between revisions

Content added Content deleted
(→‎[[Forth]]: Initial version)
(→‎[[C]]: Added syntax highlighting)
Line 74: Line 74:
'''Compiler:''' [[GCC]] 4.1.2
'''Compiler:''' [[GCC]] 4.1.2


<highlightSyntax language=C>
#include <stdio.h>
#include <stdio.h>
Line 101: Line 102:
return 0;
return 0;
}
}
</highlightSyntax>


A couple of remarks on the preceding example:
A couple of remarks on the preceding example:
Line 118: Line 120:
An example that addresses these:
An example that addresses these:


<highlightSyntax language=C>
#include <stdio.h>
#include <stdio.h>
#include <unistd.h>
#include <unistd.h>
Line 152: Line 155:
return 0;
return 0;
}
}
</highlightSyntax>


==[[C sharp|C#]]==
==[[C sharp|C#]]==