A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
10
Task/Hello-world-Line-printer/C/hello-world-line-printer.c
Normal file
10
Task/Hello-world-Line-printer/C/hello-world-line-printer.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
FILE *lp;
|
||||
lp = fopen("/dev/lp0","w");
|
||||
fprintf(lp,"Hello world!\n");
|
||||
fclose(lp);
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue