728x90 ๐จ๐ผ๐ป๊ฐ๋ฐ/C | C++3 C/C++ - DLL ๋ง๋ค๊ธฐ, DLL ์ฌ์ฉํ๊ธฐ (GCC) my_dll.c (DLL ๋ง๋ค๊ธฐ) #include void func() { system("start www.google.com");} GCC DLL ๋น๋ gcc -shared my_dll.dll -o my_dll.c run.c (DLL ์ฌ์ฉํ๊ธฐ) #include #include typedef void(*dll_func)();int main(){ HINSTANCE hDLL = LoadLibrary("my_dll.dll"); if(hDLL == NULL){ printf("Failed to load DLL\n"); return 1; } dll_func func = (dll_func)GetProcAddress(hDLL, "func"); if(func ==.. 2023. 3. 23. C++ - json parser ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น ๋ฐ ์ฌ์ฉ ๋ฐฉ๋ฒ(jsoncpp) https://github.com/open-source-parsers/jsoncpp GitHub - open-source-parsers/jsoncpp: A C++ library for interacting with JSON. A C++ library for interacting with JSON. Contribute to open-source-parsers/jsoncpp development by creating an account on GitHub. github.com git clone https://github.com/open-source-parsers/jsoncpp.git ๋ ํฌ์งํ ๋ฆฌ ์ค์น ํ ํ์ด์ฌ์ผ๋ก ๋น๋ python amalgamate.py dist ํด๋๋ก ๋ค์ด๊ฐ๋ฉด ํค๋ ํ์ผ ํด๋์ ์์ค ํ์ผ์ด.. 2022. 6. 27. C++ - ๋น์ฃผ์ผ ์คํ๋์ค E1696 : ํ์ผ ์์ค์(๋ฅผ) ์ด ์ ์์ต๋๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ https://developer.microsoft.com/en-US/windows/downloads/windows-sdk/ Windows SDK - Windows app developmentThe Windows SDK for Windows 11 contains headers, libraries, and tools you can use when you create apps that run on Windows.developer.microsoft.com์๋์ฐ SDK๊ฐ ์์ด์ ๊ด๋ จ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ถ๋ฌ์ค์ง ๋ชปํ๋ ์ค๋ฅ์ด๋ค. ์์ ๋งํฌ๋ฅผ ํตํด์ Windows SDK๋ฅผ ์ค์นํ ๋ค์์ ๋ค์ ํ๋ก์ ํธ๋ฅผ ์์ฑํ๋ฉด ํด๊ฒฐ ๋๋ค. 2022. 6. 27. ์ด์ 1 ๋ค์ 728x90