본문 바로가기

분류 전체보기250

(Mac)맥북 제어판/맥북 프로그램 삭제/맥북 추가제거 맥북 제어판 1. 맥북 화면 오른쪽 상단 apple mark 클릭->이 Mac에 관하여 클릭 2. 아래의 시스템 창이 뜨면 시스템 창 상단의 "저장 공간" 클릭 3. 저장 공간의 관리 버튼 클릭 4. 삭제할 프로그램 선택 4. "시스템 정보가 변경하려고~" 이문구 왼쪽의 지문 표시 클릭 5. 지문 이 빨간색으로 변하면 등록한 손가락의 지문을 가져다대면 삭제 완료. 2021. 3. 20.
C언어 문법 - 열거형 (enum) 관련 간단한 예제/ 간단한 코드 예제 #include enum days{MON,TUE,WED,THU,FRI,SAT,SUN}; char *days_name[]={ "monday","tuesday","wednesday","thursday","friday","saturday","sunday"}; int main(void){ enum days d; for(d=MON;d 2021. 3. 18.
(JAVA)자바 문법 - HashCode 사용법 / StringBuffer 사용법 (간단한 예제) HashCode package chap02; public class HashCodeEx { public static void main(String[] args) { // TODO Auto-generated method stub String str1=new String("abc"); String str2=new String("abc"); System.out.println(str1.equals(str2)); System.out.println(str1.hashCode()); System.out.println(str2.hashCode()); //문자열 내용이 같은 str1,str2에 대해서 hashcode를 호출하면?? 같은 결과값. //System.identityHashcode: 객체의 주소값으로 해시코드를 .. 2021. 3. 16.
C언어 - 구조체/구조체 간단한 예제/구조체 쉽게 이해하기/구조체 예제코드 구조체 1. 학생정보 입력 프로그램(ver1) #include typedef struct student{ char name[20]; int age; }STUDENT; STUDENT input(){ STUDENT stu; printf("\n-----------------------\n"); printf("이름 입력:");scanf("%s",&stu.name); printf("나이 입력:");scanf("%d",&stu.age); printf("\n-----------------------\n"); return stu; } void output(STUDENT stu){ printf("\n-----------------------\n"); printf("이름:%s\n",stu.name); printf("나이:.. 2021. 3. 16.
C언어 - 구조체 포인터/구조체 포인터 예제/구조체 포인터 쉽게 이해하기 구조체 포인터 예제 1. 간단한 예제 #include #include struct student{ int number; }; int main(){ struct student s; s.number=10; printf("%d\n",s.number); struct student *pS; pS=&s; //주소값을 pS에 저장 (*pS).number=20; printf("%d\n",(*pS).number); printf("%d",s.number); //s주소값에 20이 저장 됐으므로 결과는 20 return 0; } *결과 10 20 20 2. 학생정보 관리 프로그램(구조체 포인터ver) #include typedef struct student{ char name[20]; int age; }STUDENT; STU.. 2021. 3. 15.
(Ice Age)아이스 에이지1 - 영어공부/영어표현Day09 Ice Age - Day 09 Fine.Be a jerk. I'll take care of him. 그래, 그렇게 바보같이 굴어라, 내가 얘를 돌봐줄 거야. jerk:얼간이 take care of: 1. … 을 돌보다, 뒷바라지하다 2.…을 책임지고 떠맡다, …의 책임을 지다 *jerk 더보기 Don't be a jerk! 바보같이 굴지 마! Oh, yeah that's good. You'll take care of him.You can't even take care of yourself. This I gotta see. 오 그래, 그거 좋네, 네가 걔를 돌보던지! 네 앞가림도 못하면서, 한번 두고 보자. gotta: (=have got to) , … 하지 않으면 안 된다, … 해야 한다. (=have .. 2021. 3. 14.