From cf021fd088912c3cb6153f4c64dda7a429df196d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 11 Dec 2018 21:38:01 +0100 Subject: [PATCH] c/main --- in/public/code/c/index.rst | 14 ++++++++++++++ in/public/code/index.rst | 1 + 2 files changed, 15 insertions(+) create mode 100644 in/public/code/c/index.rst diff --git a/in/public/code/c/index.rst b/in/public/code/c/index.rst new file mode 100644 index 0000000..09ce45e --- /dev/null +++ b/in/public/code/c/index.rst @@ -0,0 +1,14 @@ +C += + +Main +---- + +.. code:: c + + #include + + main() { + printf("Hello, world!\n"); + system("pause"); + } diff --git a/in/public/code/index.rst b/in/public/code/index.rst index 1c629e3..bab2844 100644 --- a/in/public/code/index.rst +++ b/in/public/code/index.rst @@ -5,4 +5,5 @@ Code :maxdepth: 2 bash/index + c/index python3/index