seit neuesetem steht in meinem CODE::Blocks Programm nach dem der Befehl Build ausgeführt wurde in der BUILD LOG:
Code: Alles auswählen
Compiling: C:\Users\xy\Documents\Schleifen1.c
Linking console executable: C:\Users\xy\Documents\Schleifen1.exe
C:\Program Files\CodeBlocks\MinGW\bin\ld.exe: cannot open output file C:\Users\xy\Documents\Schleifen1.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Code: Alles auswählen
Process terminated with status -1073741510 (6 minutes, 31 seconds)
Was habe ich falsch gemacht???
Das Programm:
Code: Alles auswählen
#include <stdio.h>
int main()
{
int i=0, zahl1=0;
printf ("Zählen von 0 bis: ");
scanf ("%d", &zahl1);
for (i=0; i<=zahl1; i++)
{ printf ("%d\n", i);
}
return 0;
}