System programming in C++