지옥방 포너블 1주차 과제
<섹션 1>
https://caputdraconis.tistory.com/4
C/C++ 기초 강의 요약 (섹션2)
산술연산자 컴퓨터로 하여금 산술적인 연산을 하도록 하는 기호 int a=5; printf("a는 원래 %d였다...\n", a); a=a+3; printf("3을 더했더니 %d가 됐다..\n",a); 코드에서 a=a+3은 'a에 (a+3)의 값을 대입시켜'라..
caputdraconis.tistory.com
<섹션 2>
https://caputdraconis.tistory.com/4
C/C++ 기초 강의 요약 (섹션2)
산술연산자 컴퓨터로 하여금 산술적인 연산을 하도록 하는 기호 int a=5; printf("a는 원래 %d였다...\n", a); a=a+3; printf("3을 더했더니 %d가 됐다..\n",a); 코드에서 a=a+3은 'a에 (a+3)의 값을 대입시켜'라..
caputdraconis.tistory.com
<섹션 3>
https://caputdraconis.tistory.com/5
C/C++ 기초 강의 요약 (섹션3)
#include int main(){ int a[5]; a[0]=2; a[1]=3; a[2]=7; a[3]=6; a[4]=8; for (int i=0;i<=4;i++){ printf("%d\n", a[i]); } } 배열(Array) 이름 뒤에 []대괄호를 붙이고 그 안에 원하는 숫자를 넣는..
caputdraconis.tistory.com
<섹션 4>
https://caputdraconis.tistory.com/6
C/C++ 기초 강의 요약 (섹션4)
#include int itemCnt=0; int money=100; void buyItem(int cost, int cnt){ itemCnt+=cnt; money -=cost; printf("아이템을 구매했습니다\n"); printf(" 아이템 개수 : %d\n", itemCnt); printf(" 잔액..
caputdraconis.tistory.com
<섹션 7>
https://caputdraconis.tistory.com/7
C/C++ 기초 강의 요약 (섹션7)
이제 C++로 들어왔다. 모든 프로그래밍 언어를 처음 시작할때 출력해보는 Hello, World!를 출력해보았다. <출력> #include int main(){ std::cout<<"Hello, World!"<<std::endl; }="" #include="" <iostream="">..</std::endl;>
caputdraconis.tistory.com
댓글
이 글 공유하기
다른 글
-
웹해킹 1주차 PHP
웹해킹 1주차 PHP
2020.03.30 -
웹해킹 1주차 WEB&Internet
웹해킹 1주차 WEB&Internet
2020.03.30 -
C/C++ 기초 강의 요약 (섹션7)
C/C++ 기초 강의 요약 (섹션7)
2020.03.27 -
C/C++ 기초 강의 요약 (섹션4)
C/C++ 기초 강의 요약 (섹션4)
2020.03.27