[code] define _CRT_SECURE_NO_WARNINGS include <iostream> using namespace std; class Array { public: Array() { ary_ = new int; } Array(int count) { count_ = count; ary_ = new int...
태그: c플러스플러스클래스, c플러스플러스, c언어, c언어프로그래밍
[code] define _CRT_SECURE_NO_WARNINGS include <iostream> using namespace std; class Array { public: Array(int count) { count_ = count; ary_ = new int[count_]; for (int i...
[code] define _CRT_SECURE_NO_WARNINGS include <iostream> using namespace std; struct Node { int data; Node* link; }; void List_Insert(Node* head, int p, int item) { Node...
이제 막 c++언어를 배우고 있습니다. 전에 using namespace std; 사용할때는 오류없이 컴파일 잘 되었는데 어찌된지 모르게 오늘 사용해 보니 디버깅 오류로 나와서 사용할...
태그: c, c언어, usingnamespace, namespace, usingnamespacestd, c플러스플러스, c플러스플러스랭기지, 컴퓨터공학과
[code] include <iostream> include <cstdlib> include <ctime> using namespace std; include <Windows.h> include <conio.h> define KEY_ESC 27 define KEY_UP (256...
-멤버변수: 이름(string), 친구(MyWorld*), 인기도(int, 다른 사람이 친구로 선택하면 인기도가 1 증가) -생성자: 매개변수 없는 생성자 매개변수 3개를...
C 과 C++는 뭐가 다른건가요? 최대한 빨리 ㅠㅡㅠ 일단 언어 작성시 문법적인 차이가 존재합니다. 가장 큰틀로 봤을때 차이점은 c은 기업쪽 작업할때 적합하며 여러언어중...
말 그대로 입니다. 검색해도 잘 모르겠어서 질문글 남김니다. CFileFind로 지정된 폴더에서 .lnk 바로가기 파일으 경로를 얻은후 실제...
이 문제 코딩좀 부탁드려도 될까요.. include<iostream> using namespace std; class car { public: virtual void action() {} }; class sedan : public car...
1번 문제를 저 사진처럼 바꿔야되는데 알려주시면 감사하겠습니다 ㅠㅠㅠ 책은 어서와 c++은 처음이지 입니다!