I am trying to run the following code at compilier:
# include <stdio.h>
main()
{
char name;
printf("what is your name?");
scanf("%s",&name);
Type: Posts; User: csick
I am trying to run the following code at compilier:
# include <stdio.h>
main()
{
char name;
printf("what is your name?");
scanf("%s",&name);
Thanks for your comments,I have saved my file.Though I have another problem at hand.Once I am back at the C promt,I am having problem compiling my file.Pls advise how I could compile,link and execute...
I wrote "edit" at the C promt,this opened up my editor,then I wrote my program.
But I do know how to save this file in DOS.
Sorry for this stupid question, would be very obliged for the help,...
Actually I compiled the code in Linux using cc average.c -o average
.I don't know what could be the problem.
I have Linux running on a 32MB computer.
I have Win200 on a256MB computer.
The Win2000 computer has the Miracle C compiler.
The Linux computer has a compiler-but I do not know which one(i do not...