Sniprun

SnipRun selection::f SnipRun initial mode::ze SnipRun run::zee

Get output from code blocks

gcc --version

If there is no main function present, sniprun will wrap one around the code. It also will add some of the standard include files needed to compile the code.

printf("Hello World me!");

The equivalent example with explicitly writing include and the main function.

#include <stdio.h>
int main(int argc,char **argv) {
  printf("Hello World");
  exit(0);
}

TODO: add more examples