メインコンテンツにスキップ

C++ Playground

Choose a starting scenario and write any C++ snippet. The sandbox is free: there is nothing to validate. To actually compile and run the code, a click on Open in Compiler Explorer copies the code to the clipboard and opens godbolt.org in a new tab — paste it with Ctrl/Cmd+V to inspect the output and the assembly.

エディターを読み込み中…

ヒント: Ctrl/Cmd + Enter はコピーしてコンパイラー エクスプローラーを開きます。