[펌] http://yms2047.tistory.com/277
C와 JAVA 구조체 비교
C언어 | JAVA | |
struct Doggy { int eye; int leg; char[12] name; } void run(){ //뽀삐 달리다. } int main() { struct Doggy bbobbi; struct kitty marry; bbobbi.eye = 2; bbobbi.eye = strcpy(name, "뽀삐"); run(); } |
|
'Linux 일반 > Programming' 카테고리의 다른 글
Android - Button & Image ( 버튼을 이용한 이미지출력 ) (0) | 2011.12.07 |
---|---|
Unable to start activity ComponentInfo 에러 (0) | 2011.12.06 |
interface, implements (0) | 2011.12.01 |
Java Interface 특징과 사용방법 (0) | 2011.12.01 |
androidmenifest.xml permission 종류 (0) | 2011.11.28 |