Learning C++ for coding theory and procedures