📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
15
sandbox/fputc.c
Normal file
15
sandbox/fputc.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
FILE * fp = fopen("hallo.txt", "w");
|
||||
|
||||
fputc('A', fp);
|
||||
/* getchar(); */
|
||||
fputc('A', fp);
|
||||
/* getchar(); */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// creates file hallo.txt and writes "AA" to it.
|
||||
Loading…
Add table
Add a link
Reference in a new issue