Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

정모/2011.4.4/코드레이스: Difference between revisions

From ZeroWiki
imported>linflus
No edit summary
 
imported>chackford
No edit summary
Line 2: Line 2:
== 핸드폰이 죽었슴다 ==
== 핸드폰이 죽었슴다 ==
== Untitled.txt ==
== Untitled.txt ==
#include <stdio.h>
typedef struct _h {
int id;
} human;
typedef struct _t {
human h[3];
} town;
int main(int argc, const char **argv) {
human raten, ruke, bad, pl1, pl2, pl3;
town a, b;
a.h[0] = raten;
a.h[1] = ruke;
a.h[2] = bad;
b.h[0] =a.h[0];
b.h[1]=a.h[1];
a.h[0]=pl1;
a.h[1]=pl2;
a.h[0]=b.h[0];
b.h[0]=pl1;
b.h[0]=a.h[0];
b.h[2]=a.h[2];
a.h[0]=pl1;
a.h[2]=pl3;
return 0;
}
== 기생충 ==
== 기생충 ==



Revision as of 11:00, 4 April 2011

쓰레기

핸드폰이 죽었슴다

Untitled.txt

#include <stdio.h>


typedef struct _h {
	int id;
} human;

typedef struct _t {
	human h[3];
} town;

int main(int argc, const char **argv) {
	human raten, ruke, bad, pl1, pl2, pl3;
	town a, b;
	
	a.h[0] = raten;
	a.h[1] = ruke;
	a.h[2] = bad;
	
	b.h[0] =a.h[0];
	b.h[1]=a.h[1];
	a.h[0]=pl1;
	a.h[1]=pl2;
	
	a.h[0]=b.h[0];
	b.h[0]=pl1;
	
	b.h[0]=a.h[0];
	b.h[2]=a.h[2];
	a.h[0]=pl1;
	a.h[2]=pl3;
	
	return 0;
}

기생충