envoirnment

This commit is contained in:
matthias wagner
2023-07-13 21:25:26 +02:00
parent 3c5b955e31
commit ea096bdec1

15
thor.c
View File

@@ -1,8 +1,19 @@
#include <stdio.h>
#include <stdlib.h>
// run using gcc thor.c && ./a.out
int main(int argc, char **argv){
printf("Hello, World!");
return 0;
if(argc != 2) {
printf("enter one argument for n");
return 1;
}
unsigned int n = atoi(argv[1]);
printf("claculating number y of rotaionally asymmetric polycubes with n = %u ...\n", n);
unsigned int y = rot_asy_polyc(n);
printf("y = %u\n", y);
return 0;
}
unsigned int rot_asy_polyc(n) {
}