Skip to content

Commit

Permalink
Changed SNIPPET.txt to be a small standalone program
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhughesweb committed Jun 12, 2018
1 parent 58fa76a commit eafbef3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/SNIPPET.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#include "hello_world.h"
#include <stdio.h>

int main(int argc, char* argv[]) {

for (int i = 1; i <= 5; i++) {
printf("Hello, World!\n");
}

const char *hello(void)
{
return "Hello, World!";
}

0 comments on commit eafbef3

Please sign in to comment.