C++

Send UDP packet example

Copied code from Sending string over UDP in C++. C-style code in C++ question. Let's make this solution to be a real C++ answer! order of…

Read more...

Advanced Finite State Machine

In one project, I decided to navigate through the steps of the installation wizard using a state machine. First example Obviously the first…

Read more...

const in C++

Can I just show four slides. They are totally self-exlanatory before type The structure itself is const, cannot change its integrity, but…

Read more...

C++ question: exec

C++puzzle

Today I found this code extremely confusing. C/C++ question What output do you expect? (disregard output from the long_process.sh script…

Read more...