CQA system implemented by C++