1월, 2025의 게시물 표시

교재 소개

다음과 같은 자료들이 있다. 무료 교재 소개 https://open.umn.edu/opentextbooks/ http://bigbook.or.kr/ Green Tea Press – Free books by Allen B. Downey Gilbert Strang, Calculus  https://ocw.mit.edu/courses/res-18-001-calculus-fall-2023/pages/textbook/ Open Logic Project https://builds.openlogicproject.org/ Open Logic Text Complete Version (2024-12-01) 이상구, 선형대수 https://ibook.skku.edu/Viewer/LA-Texbook http://matrix.skku.ac.kr/LA/ David Cherney, Tom Denton, Rohit Thomas and Andrew Waldron, Linear Algebra https://www.math.ucdavis.edu/~linear/

Algorithm - Bressenham's line algorithm

https://en.wikipedia.org/wiki/Bresenham's_line_algorithm

WinAPI 0002 - 윈도우 클래스의 등록

지난번에 이어 wWinMain 함수를 좀 더 다듬어 보자. 우선, RegisterClass 함수를 통해 윈도우 클래스를 등록해 보자. WinAPI에서는 틀에 해당하는 윈도우 클래스를 먼저 등록하고, 이걸 통해 윈도우를 생성하는 방식을 사용한다.  #ifndef UNICODE #define UNICODE #endif #include <windows.h> BOOL InitApplication(HINSTANCE hinstance) { WNDCLASSEXW wcx = { };    wcx.cbSize = sizeof(wcx);    // size of structure  wcx.style = CS_HREDRAW | CS_VREDRAW;    // the class styles // https://learn.microsoft.com/en-us/windows/win32/winmsg/window-class-styles wcx.lpfnWndProc = DefWindowProcW;    // points to window procedure  wcx.cbClsExtra = 0;    // no extra class memory  // The number of extra bytes // to allocate following the window-class structure. // The system initializes the bytes to zero. wcx.cbWndExtra = 0;                // no extra window memory  //  The number of extra bytes to allocate following the window instance. //  The sy...

목차 (글 목록)

 Table of Contents WinAPI WinAPI 0000 - 시작과 개발환경 갖추기 WinAPI 0001 - wWinMain 함수 WinAPI 0002 - 윈도우 클래스의 등록 WinAPI 0003 - CreateWindowExW 함수 Algorithm Algorithm - Dijkstra's algorithm Algorithm - Bressenham's line algorithm Algorithm - Priority queue Mathmatics Math - 교재 소개 LaTeX