Compiler Explorer is an interactive tool that lets you type code in one window and see the results of its compilation in another window.
Using the site should be pretty self-explanatory: by default the left hand pane is the source window and the right hand has the assembly output.
We have an FAQ.
For C++ questions, try the 'Compiler Explorer' channel in the CppLang Slack workspace. CppLang is invite-only, but here is the auto-invite to the CppLang Slack.
.