일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- postgresql
- with
- dataframe
- DROP
- if
- Eclipse
- python
- Shader
- null
- Unity
- sql
- sqlite
- c++11
- conda
- List
- ubuntu
- SSH
- C++
- expect
- pandas
- autovacuum
- FIND
- SVN
- ngui
- awk
- 쉘
- 배열
- pi
- mysql
- boost
- Today
- Total
목록C++ (4)
その先にあるもの…
사용 기본 클래스에서 파생 클래스로의 다운캐스팅다중 상속에서 기본 클래스간에 캐스팅 제약상속관계에서 사용가상 함수가 1개 이상 꼭 필요RTTI( runtime type information)이 활성 #include "stdafx.h"#include using namespace std; class C0{public:int i = 0; virtual void print() { cout
형을 변환 시켜주는 것이 아니라 const, 참조를 제거한다. char str[] = "BitCoin";const char* ptr = str;cout
컴파일시에 타입이 결정된다. 변수 선언시에 초기화 할 때 타입이 정해진다. auto Value; //'auto' 형식을 추론할 수 없습니다(이니셜라이저 필요).CPPx11auto Value = 1; auto NPCName = "BugKing";auto number = 1; int UserMode = 4;auto* pUserMode = &UserMode;auto& refUserMode = UserMode; struct _InvenInfo{};class CInvenInfo{};auto structInven = new _InvenInfo;auto classInven = new CInvenInfo; class CItem{};typedef std::list List_Item;List_Item li..
준비프로젝트 속성창에include directory 추가 ( C:\Program Files\MySQL\MySQL Server 5.7\include )library directory 추가 ( C:\Program Files\MySQL\MySQL Server 5.7\lib )libmysql.dll 파일을 카피하여 작업 폴더에 넣어둔다. 주의 : 컴파일시 32bit나 64bit 확인 컴파일 에러 발생 vs2015버전은 struct 재선언 되었다는 오류 발생 원본 코드 : http://wrinos.tistory.com/212 #include #include #pragma comment(lib, "libmySQL.lib") #define DB_HOST "192.168.0.1" // DB IP주소 또는 도메인 또는 ..