지나가는 길에

  • 홈
  • 태그
  • 방명록

전체 글 30

포인터 배열

#include "pch.h" #include <iostream> #include <stdlib.h> /* srand, rand */ #include <time.h> /* time */ #include <string> #include <Windows.h> using namespace std; /* // 몬스터 젠 함수 void MonsterGen(int type) { // type 1,2 인간형 // type 3,4 언데드형 switch (type) { case 1: case 2: // if (type == 1 || type == 2) { cout << "인..

C++ 2018.09.12

C++ 배열 주소 포인터 01

int XX__main01() { /*int values[3][4] = { {1,2,3,4}, {5,6,7,8}, {9,10,11,12} };*/ // 실질적 4바이트씩 1열 구조 //int values[3][4] = { 1,2,3,4,5,6,7,8,9,10,11,12 }; int values[][4] = { 1,2,3,4,5,6,7,8,9,10,11,12 }; //int values[][4] = { 1,2,3,4,5,6,7,8,9,10 }; //cout << " values[1][2] >>> " << values[1][2] << endl; //values[1][2] = 17; //cou..

C++ 2018.09.10

C++ 로또 예제

#include "pch.h" #include <iostream> #include <stdlib.h> #include <time.h> #include <Windows.h> using namespace std; int main() { srand((unsigned int)time(NULL)); int arr_num01[6] = { 0 }; int arr_lotto_cnt[45] = { 0, }; bool arr_lotto_chk[45] = { false, }; int count = 0, num01 = 0; cout << "추첨횟수 입력 >>> "; cin >> count; ..

C++ 2018.09.08
이전
1 2 3 4 ··· 10
다음
더보기
프로필사진

지나가는 길에

  • 분류 전체보기 (30)
    • 나의 이야기2222 (2)
    • 일 (2)
    • 작은 여유 (0)
    • 신기한거 (0)
    • 새 기법 (1)
    • 알면좋은거 (1)
    • C++ (4)

Tag

태그, 유에프오, 유타UFO, ㅁㅁㅁ, ㅂㅂㅂ, ㅂㅂㅂㅂ, UFO, ㅂㅂ,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바