About C++ Lab

C++ Lab is a small, fast place to learn and try C++. Every code example on this site runs in your browser — there's no backend server executing your code, no account, and no install. Pick a lesson, press Run, and see what happens.

Who it's for

How the playground works

Code you run here is executed by an open-source C++ interpreter (JSCPP) that runs entirely on your own device. Your code never leaves your browser. The engine currently supports the teaching core of C++ — iostream, cstdio, cmath and friends — which covers everything in our lessons. Support for containers like std::vector and the full standard library is on the roadmap.

Contact

Questions, corrections, or lesson requests? Reach out at zzr12356@outlook.com.