a.h
class aaa{

 public:
 
    virtual int xbbb(char *a, char *b);
    
    

};


b.h
class b: public aaa{

int xbbb(char *a, char *b); //cpp에서 구현

}



AND


#include <direct.h>

---- 파일 복사 ----
if(!CopyFile( (LPSTR)(LPCTSTR) CStrSrc, (LPSTR)(LPCTSTR) CStrTargetPath,false))
<- 맨마지막 false인자는 이미 파일 존재시 실패여부  false(무시), true(실패)
{
}

---- 파일 이동 ----
if(!MoveFile( (LPSTR)(LPCTSTR) CStrSrcPath,  (LPSTR)(LPCTSTR) CStrTargetPath))
{
}
AND

use db_name;
sp_helpfile; <- log name명 알아오기 (필드 name)

backup log aaa with no_log;
dbcc shrinkfile ('aaa_Log' ,7); <- aaa_Log를 7MB로 축소
AND