We are excited to introduce runnable c/c++ code snippets. Now you can embed code snippets which can be executed from your website/blog. Here is live example of embded runnable code snippet.
Below are steps to embed runnable code snippets to your own website.
- Goto onlinegdb.com
- Write and test your code
- Click “Share” button
- Copy “Embed Code” link, which would look like code below.
- Paste it in your article/page of your website where you want to display runnable code.Thats it. Now your readers can run your code snippets from your website.