make*** error 1 [message #1714004] |
Mon, 09 November 2015 06:15  |
Eclipse User |
|
|
|
Hello everybody,
I am new to programming and have an assignment for School. I don't know why but I am unable to run my current Project. I have reserched this Problem online but I can't seem to understand what the solution is.
Here is the code:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(void) {
double kathete, gegenkathete, hypotenuse, b;
printf("Länge des Kathetes A eingeben:");
scanf("%lf",&kathete);
printf("Winkel ß eingeben:");
scanf("%lf",&b);
hypotenuse = kathete / cos(b);
gegenkathete = hypotenuse * sin(b);
double a = 180 - (90 + b);
printf("\nHypotenuselänge: %lf\n", hypotenuse);
printf("\nGegenkathetelänge: %lf\n", gegenkathete);
printf("\nWinkel a is: %lf\n", a);
return 0;
}
and here is the Error Message:
make all
Building file: ../src/Aufgabe 1-2.c
Invoking: GCC C Compiler
gcc -Wall filename.c -lm -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Aufgabe 1-2.d" -MT"src/Aufgabe\ 1-2.d" -o "src/Aufgabe 1-2.o" "../src/Aufgabe 1-2.c"
gcc: Fehler: filename.c: Datei oder Verzeichnis nicht gefunden
make: *** [src/Aufgabe 1-2.o] Fehler 1
|
|
|
|
Powered by
FUDForum. Page generated in 0.03764 seconds