https://www.udemy.com/cpp_development_with_qt_and_boost_library 처음부터 무슨 큰 돈을 벌려고 시작한 것은 아니었고, 3년전 블로터 이지현 기자님께서 권해주셔서 한번 도전삼아 제작했었고 아직 유료로 유지되고 있던 강좌가 있었죠. 돈을 지금껏 제대로 번것도 아니고, 여전히 한달에 한두분 들어주시긴 하지만 그래도 더 많은 분들이 봐주시는게 더 의미있을것 같아 무료로 전환합니다. 계속 무료로 유지할 생각입니다. 추가로 이곳에만 덧붙이자면, experienced software engineer 분들께서는 강좌 … Continue reading Udemy C++ 강좌 무료화
Qt/Chromium code search
Reading good code is essential to be a better developer. Searching good code is also important. Here are two good starters to begin with: Chromium code search https://cs.chromium.org/ Qt5 Source search https://code.woboq.org/qt5/ Heejune.
Deferred caller(or delegator.. whatever you name it) implementation with variadic template
Deferred caller, delegator implementation with variadic template Recently I started playing with a small toy project – tiny web server with C++. The first requirement I wanted to implement was the 'static type routing handler' as shown from the crow project. Which means, users should be able to register its routing handlers as the following … Continue reading Deferred caller(or delegator.. whatever you name it) implementation with variadic template
Sieve of Eratosthenes in C++
Updated June 8th, 2017. This post was introduced to the Reddit /r/cpp soon after I posted and immediately got a feedback saying "both semantically wrong as well as poorly optimized" which is quite true. 🙂 So I'd like to recommend visiting the Reddit link and consider the comments before preceding or even better, refer to the … Continue reading Sieve of Eratosthenes in C++
Beginning the coroutine with Visual Studio 2015 Update 3 Part 2
As we discussed through Part I, co_wait keyword requires sort of "resumable thing". So what if we want to use co_await with time delta? For example, you can see the code which the co_await takes std::chrono::duration in order to suspend for the specified time from here: https://github.com/Microsoft/cppwinrt/blob/master/10.0.14393.0/Samples/JustCoroutines/Main.cpp#L31 The answer is the fact that vc++ compiler … Continue reading Beginning the coroutine with Visual Studio 2015 Update 3 Part 2
Building WinRT component with WRL(non C++/CX) and cppwinrt
The cppwinrt project focused to consume Microsoft provided OS winrt components and it doesn't support building a winrt component(yet) although they mentioned it will be supported later. Even though it's not technically supported yet, we still can create a winrt component with WRL(pure C++ and non C++/CX) and still can get some benefits from using … Continue reading Building WinRT component with WRL(non C++/CX) and cppwinrt
Beginning the coroutine with Visual Studio 2015 Update 3 Part 1
I recently started using the cppwinrt library which brought chances dealing with the new C++ standard(yet) coroutine. The cppwinrt recommends using C++ coroutines instead of PPL while handling async operations. Refer to the following github issues for more information: https://github.com/Microsoft/cppwinrt/issues/54 https://github.com/Microsoft/cppwinrt/issues/46 Although the coroutine concept itself might feel coming familiar because we're already exposed async … Continue reading Beginning the coroutine with Visual Studio 2015 Update 3 Part 1
[C++/Cx] How can I get the AsyncOperationWithProgress progress?
Windows Runtime provides the HttpClient class along with async APIs. For example, you can send a GET request through the GetAsync(Uri) method. GetAsync() method is an awaitable API so that it returns IAsyncOperationWithProgress<HttpResponseMessage, HttpProgress>^. You will get the HttpResponseMessage by specifying the IAsyncOperationWithProgress to Concurrency::create_task(). However, how can I get the progress? There's no direct … Continue reading [C++/Cx] How can I get the AsyncOperationWithProgress progress?
Generating assembly output from msvc and CMake
Sometimes it's needed or you may require to see the assembly output listing of a C++ snippet code just for the testing purpose. Testing yourself with Jason Turner's session might be the example. If you're using a msvc with Windows environment, then it's quite easy by running the simple command line argument: Let's say we have … Continue reading Generating assembly output from msvc and CMake
Build your own clang example outside of the llvm source tree
Now it’s time to build our own clang standalone tool. The official LibTooling document provides an example code so that I was able to begin with it. How to write CMakeLists.txt for the standalone clang tool? Of course using the cmake is not required, but I wanted to go with it. At first … Continue reading Build your own clang example outside of the llvm source tree