Develop
2013.04.23 14:56
[c++] 헤더, 소스 파일 분리해서 작성해본 테스트 소스
조회 수 6688 댓글 0
첨부 '1' |
---|
헤더(*.h)파일과 소스(*.cpp)파일 분리해서 작성하는 샘플
#include <stdio.h> #include <Circle.h> #include <Rectangle.h> #include <Triangle.h> int main(){ Rectangle arectangle(4, 2); printf("%lf ", arectangle.area()); return 0; }
-
[c++] mfc로 만든 현재 디렉토리 읽어오기/세팅하기 (GetCurrentDirectory/SetCurrentDirectory)
-
[c++] mfc에서 윈도우 항상 위 속성 주기..
-
[c++] mfc이용한 트레이아이콘(TrayIcon) 클래스 예제 프로젝트
-
[c++] namespace 사용 예
-
[c++] p.118 확인학습 5번
-
[c++] p.47 연습문제 3번
-
[c++] p.58 연습문제 2번
-
[c++] RSA Sample 4 CPP
-
[c++] SetWindowPos함수를 이용한 크기조절 예제
-
[c++] String Tokenizer (나중에 c 코드로 변경해서 사용할 것)
-
[c++] template 사용예
-
[c++] Win32 API 기본 출력인 MessageBox() 함수 사용 예제..