Tutorials 参考 练习 Videos NEW Menu
Paid Courses Website NEW

C++ 练习

You can test your C++ skills with W3Schools' 练习.


We have gathered a variety of C++ exercises (with answers) for each C++ Chapter.

Try to solve an exercise by editing some code, or show the answer to see what you've done wrong.


每答对一题, each correct answer. Your score and total score will always be displayed.

Start C++ 练习


Start C++ 练习 ❯

If you don't know C++, we suggest that you read our C++ Tutorial from scratch.