This shows you the differences between two versions of the page.
|
c:keywords:stdout [2013/01/12 15:40] Jim removed |
c:keywords:stdout [2024/02/16 01:05] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{keywords>wiki library source code example reference}} | ||
| + | ===== stdout ===== | ||
| + | Pointer to a type FILE | ||
| + | |||
| + | ===== C Sourcecode Example ===== | ||
| + | <code c> | ||
| + | #include <stdio.h> /* including standard library */ | ||
| + | //#include <windows.h> /* uncomment this for Windows */ | ||
| + | |||
| + | int main ( void ) | ||
| + | { | ||
| + | int c=66; | ||
| + | |||
| + | fputc(c, stdout); | ||
| + | return 0; | ||
| + | |||
| + | } | ||
| + | </code> | ||
| + | |||
| + | ==== output ==== | ||
| + | ./stdout.c | ||
| + | B | ||
| + | |||