윈도우 프로그램은 이런 식으로 만들 수 있다 1. 윈도우 헤더를 인클루드하고 #include cf) windows.h : 윈도우 개발자들에게 필요한 매크로들,함수, 데이터타입들, API 함수들을 위한 정의를 포함하는 윈도우의 c 및 c++ 헤더파일 ( c에서도 사용될 수 있는 윈도우용 수많은 함수들을 정의하고 있다.) 2. 윈도우즈 프로그램 시작점(WinMain) 을 정의 int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdParam, int nCmdShow) { 3. 윈도우를 만들고 -만들 윈도우특성 정의 -정의 한 윈도우 등록 ( 메모리에 생성 ) 4.화면에 출력하고 4.메세지를 처리하다가 ( 메세지루프) - ..
Windows API = WinAPI = Win32Api ....윈도우 운영체제 에서 사용 가능한 마이크로소프트의 Application Programming Interfaces 모든 윈도우 프로그램은 Windows api와 상호작용을 한다. Developer support is available in the form of a software development kit, Micorsoft Windows SDK cf) Microsoft Windows SDK and its predecessors Platform SDK, and .NET FrameworkSDK, are software development kits(SDKs) from Microsoft that contain documentation, head..
Builds a left-handed perspective projection matrix vased on a field of view. syntax c++ D3DXMATRIX* D3DXMatrixPerspectiveFovLH( _Inout_ D3DXMATRIX * pOut, _In_ FLOAT fovy, _In_ FLOAT Aspect, _In_ FLOAT zn, _In_ FLOAT zf ); Prarmeters pOut - Pointer to the D3DXMATRIX structure that is the result of the operation. fovy - Field of view in the y Direction, in radians. Aspect - Aspect ratio, defined ..
builds a left- handed, look-at matirx. syntax c++ D3DMATRIX* D3DMatrixLookAtLH( _Inout_ D3DMATRIX* pOut, _In_ const D3DXVECTOR3* pEye, _In_ const D3DXVECTOR3* pAt, _In_ const D3DXVECTOR3* pUp ); Parameters pOut - Pointer to the D3DXMATRIX structure that is the result of the operation. pEye - Pointer to the D3DXVECTOR3 structure that defines the eye point. This value is used in translation. pAt -..
c 표준 라이브러리에서 제공하는 표준함수 입출력, 메모리 관리, 날찌 및 시간처리, 문자열처리, 수학계산 등등 프로그래밍 하는데 필수적인 기능들을 함수로 만들어놓은것 윈도우뿐 아니라 리눅스, 유닉스 매킨토시 등 어떤 시스템에서도 사용할 수 있다는 범용성을 가지고있다. 기능별 분류 목록 해당 목록은 모든 함수를 적은것은 아니다. 입출력 printf, scanf, gets, puts, getchar, putchar, getch, putch 파일입출력 fopen, fclose, fscanf, fgetc, fputc, fgets, fputs, fseek, ftell, fwrite, fread, fflush 메모리 memcpy, memset, memchr, memcmp 시간 time, gmtime, localti..