feat[main]: Add main()-Function in main.c

This commit is contained in:
Frederik Beimgraben 2024-12-03 12:45:28 +01:00
parent 3d94802beb
commit a09d3e5141
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -52,3 +52,4 @@ Module.symvers
Mkfile.old
dkms.conf
main

View File

@ -7,11 +7,6 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef _DEBUG_
printf("X=%f\n",x);
#endif
double interpolateLine(double x1, double y1,double x2, double y2, double x){
double y = ((y2 - y1) / (x2 - x1)) * x + y1 - ((y2 - y1) / (x2 - x1)) * x1;
return y;

10
main.c Normal file
View File

@ -0,0 +1,10 @@
//
// Created by frederik on 12/3/24.
//
#include "MMS24_25.h"
#include <stdio.h>
int main(const int argc, const char * argv[]) {
}