Skip to content
Snippets Groups Projects
Commit c4c9331b authored by 이소현's avatar 이소현
Browse files

lec04

parent 994bd1d9
Branches
No related tags found
No related merge requests found
File added
lec04/bin 0 → 100755
File added
#include<stdio.h>
int main()
{
int i;
unsigned int in_a, in_b, in_c;
fscanf(stdin, "%d %d", &in_a, &in_b);
in_c = in_a >> 2;
fprintf(stdout, "%d : ", in_a);
for(i=31; i>= 0; i--)
{
fprintf(stdout, "%d", ((in_a>>i) & 1));
if(i % 4 == 0)
fprintf(stdout, " ");
}
fprintf(stdout, "\n");
fprintf(stdout, "%d : ", in_b);
for(i=31; i>= 0; i--)
{
fprintf(stdout, "%d", ((in_b>>i) & 1));
if(i % 4 == 0)
fprintf(stdout, " ");
}
fprintf(stdout, "\n");
fprintf(stdout, "%d : ", in_c);
for(i=31; i>= 0; i--)
{
fprintf(stdout, "%d", ((in_c>>i) & 1));
if(i % 4 == 0)
fprintf(stdout, " ");
}
fprintf(stdout, "\n");
}
#include<stdio.h>
int main()
{
int in_a;
fscanf(stdin, "%d", &in_a);
fprintf(stdout, "Hello stdout %d\n", in_a);
fprintf(stderr, "Hello stderr %d\n", in_a);
}
#include<stdio.h>
int main()
{
int in_a;
fscanf(stdin, "%d", &in_a);
fprintf(stdout, "Hello stdout %d\n", in_a);
fprintf(stdout, "Hello stdout %d\n", in_a);
fprintf(stdout, "Hello stdout %d\n", in_a);
fprintf(stdout, "Hello stdout %d\n", in_a);
}
Hello stderr 300
Hello stdout 300
### Lecture 03
#### 배운것
* git command
* git clone
* git pull
* git add
* git commit
* git push
#### editing
SSH 서버에서 작업한 내용입니다.
PC에서 작업한 내용입니다.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment