hi there,
i have a simple question, I just set up my new laptop with kubuntu 12.04 and installed the gcc.
a few weeks ago i wrote some simple c code for school, which I was able to run on the old laptop just fine.
now I have problems executing those files, saying I don't have enough permissions.
theresa@kubuntu:~/c$ ls -lha musik.c
-rwxrwxrwx 1 theresa theresa 349 Dez 25 2011 musik.c
here's the code snippet that i'm trying to run (see it's very simple)
Code:
#include <stdio.h>
int main()
{
printf("****** Meine Musiktitel ******\n\n");
printf("N = Neuen Eintrag hinzufügen \n");
printf("L = Eintrag löschen \n");
printf("F = Musiktitel finden \n");
printf("A = Alle Einträge anzeigen \n");
printf("B = Programm beenden \n\n");
printf("Ihre Wahl:");
printf("\n\n");
return 0;
}
When I try to run it by ./musik
I'm getting a "can't execute this file."
earlier i did a gcc -o musik.c musik
this works fine on the old machine.
Bookmarks