]> 91.132.146.200 Git - selfpaste.git/commitdiff
first steps in a c client
authorBanana <mail@bananas-playground.net>
Tue, 7 Apr 2020 18:47:56 +0000 (20:47 +0200)
committerBanana <mail@bananas-playground.net>
Tue, 7 Apr 2020 18:47:56 +0000 (20:47 +0200)
client/c-client/selfpaste [new file with mode: 0755]
client/c-client/selfpaste.c [new file with mode: 0644]

diff --git a/client/c-client/selfpaste b/client/c-client/selfpaste
new file mode 100755 (executable)
index 0000000..5bf5268
Binary files /dev/null and b/client/c-client/selfpaste differ
diff --git a/client/c-client/selfpaste.c b/client/c-client/selfpaste.c
new file mode 100644 (file)
index 0000000..fecf39f
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
+ * You should have received a copy of the
+ * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
+ * along with this program.  If not, see http://www.sun.com/cddl/cddl.html
+ *
+ * 2019 - 2020 https://://www.bananas-playground.net/projekt/selfpaste
+ */
+
+#include <stdio.h>
+
+int main() {
+       // https://www.programmingsimplified.com/c-program-examples
+       printf("Writing comments is very useful.\n");
+
+       return(0);
+}