Thanks guy's! The %s did the trick.
For the once's interested in this, here is my first talkbot .
Code:
#include <stdio.h>
int main()
{
char name[31];
char lastname[31];
char nothing[100];
char feeling[100];
char nothings[100];
char ch[100];
printf("Hi, what is your name?\n");
scanf("%s", name);
printf("Hello %s.\nHow are you doing?\n", name);
scanf("%s", ch);
printf("I see, how would you describe that in one word?\n");
scanf("%s", feeling);
printf("Feeling %s is one of the many feeling we all have sometimes.\nIs there anyhting else you want to share with me?\n", feeling);
scanf("%s", nothings);
printf("Thank you for sharing %s. I hope the rest of your day will be very nice.\n", name);
return 0;
}
If you see some incorrect stuff im doing please let me know.