Hi there,
I'm new to programming and i'm having problems when it comes to using programs I code. For example:
Whenever I try to use this program (Typing in name then pressing enter) the program shuts down when I press enter...Code:#include <stdio.h>
int main()
{
char me[20];
printf("what is your name?");
scanf("%s",me);
printf("Darn glad to meet you, %s!\n",me);
return(0);
}
Are there any ways to fix this?
Cheers,
Jack