I have started a blog on Blogger http://algorithmsolutions.blogspot.com/

Currently I'm posting code samples using Gist of GitHub.

Is there any way to show two windows in blog post, i.e., Code and Output, in which if any blog reader changes code in code area then it gets reflected automatically in the output area, just like the exercise window in courses of Khan Academy?

I need to post code snippets in C++ or Java.


From http://www.sitepoint.com/embed-jsfiddle-code-web-pages/

1. Go to jsfiddle.net and create your snippet
2. Navigate to Menu > Share > Embed Code (embeds in an iFrame).
3. Copy the iFrame code into your webpage HTML

  • Thank you for the reply ... I checked jsfiddle.net as per your answer. But it shows only HTML , JS and CSS . I need something for C++ or Java – Abhinav Dua Jan 16 '16 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.