Skip to content
Snippets Groups Projects
Commit 678d0a54 authored by parkjiyoung's avatar parkjiyoung
Browse files

foss_lab directory 추가

parent e76e0b21
Branches
No related tags found
No related merge requests found
Showing
with 51 additions and 0 deletions
wowowoow
wowowoow
file1
\ No newline at end of file
#include <stdio.h>
int main(){
int a;
fscanf(stdin, "%d", &a);
fprintf(stdout, "STDOUT: Hello Jiyoung %d\n", a);
fprintf(stderr, "STDERR: Hello Jiyoung %d\n", a);
return a;
}
999
STDOUT: Hello Jiyoung 999
STDERR: Hello Jiyoung 999
STDOUT: Hello Jiyoung 999
stderr: Hello 201921101 313
#include <stdio.h>
int main()
{
int a;
fscanf(stdin, "%d", &a);
fprintf(stdout, "stdout: Hello 201921101 %d\n",a);
fprintf(stderr, "stderr: Hello 201921101 %d\n",a);
return 0;
}
313
ls -li
stdout: Hello 201921101 313
stderr: Hello 201921101 112
stdout: Hello 201921101 112
stderr: Hello 201921101 313
stderr: Hello 201921101 9899
#include <stdio.h>
int main()
{
int a;
fscanf(stdin, "%d", &a);
fprintf(stdout, "stdout: Hello 201921101 %d\n",a);
fprintf(stderr, "stderr: Hello 201921101 %d\n",a);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment