I have trouble with creating a project with c++ code