Adding the C code.

I'm keeping the Java file for now as reference.
This commit is contained in:
Nicolás A. Ortega
2016-07-04 12:43:19 +02:00
parent f7a0384ff3
commit 3675ee066f
3 changed files with 35 additions and 8 deletions

14
src/Main.c Normal file
View File

@ -0,0 +1,14 @@
#include <stdio.h>
// 0 = false;
// 1 = true;
char version[16] = "v0.5";
int verbose = 0;
int main(int argc, char **argv) {
printf("MMMCalc %s, Copyright (c) 2016 Nicolás A. Ortega.\n", version);
printf("This program comes with ABSOLUTELY NO WARRANTY.\n");
printf("This program is free software and you are welcome to redistribute\n");
printf("under the terms and conditions of the GNU GPLv3 or higher.\n\n");
return 0;
}