블로그
- (영진전문대 컴퓨터프로그래밍전공반) C++ 가상 소멸자 ; class String { char *s; public: String(char *p) { cout << "String() 생성자" << endl; s = new virtual ~String() { // 가상 소멸자 virtual을 설정해줘야 소멸자가 호출된다. cout << "String() 소멸자" << endl; delete
- [Trigger] record inserted -> Insert table 2.Update Statement -> Old record is deleted and new record is inserted -> Deleted,Inserted Tables 3.Delete statement ->Old record is deleted ->Deleted table
- WideCharToMultiByte() :WideCharToMultiByte(CP_ACP, 0, strSrc.c_str(), -1, szRet, 0, NULL, NULL); if(0 < len) { szRet = new WideCharToMultiByte(CP_ACP, 0, strSrc.c_str(), -1, szRet, len, NULL, NULL); std::string strRet(szRet); delete
← 이전
2 페이지