didi00> [B]I saved it in documents like file1[/B]
Save c source code as *.c (i.e. file1.c) then
[CODE]gcc file1.c -o file1[/CODE]
Where file1 will be the output. Read More
[QUOTE=didi00;1225396]I get it. sudo is some kind of root password (which in my case I don't know it). I guess I'll re-install kubuntu and I'll see where to set my root password. I think that I didn't set any password when I installed kubuntu. Oh well...[/QUOTE]
Kubuntu doesn't have a … Read More
[QUOTE=jephthah;1225640]goodlord, do NOT reinstall your OS. and you're wasting your time with g++ unless you want to compile C++ (.cpp) files. the simple fact is just that your gcc is obviously not able to see your file1.c, and there has to be a simple explanation.
As a side note, … Read More
Look. here's your first hint. you do NOT reinstall your OS every time something difficult or confusing occurs.
i mean, seriously, just THINK about that.
now did you write the file1.c to the directory in the first place? what happens when you try to do it again? any warnings?
is … Read More
Do you have a current user password? Is this a virtual appliance that you downloaded already made?
didi00> But it just doesn't find the file.
Which doesn't find the file, [B]ls -ll[/B] or [B]gcc[/B] command? Read More