i wrote this:
when i compile it, the compiler prints:Code:// sendinfo is a struct.
.
.
.
printf(" Name: ");
gets(name);
strcpy(sendinfo.name,name);
.
.
.
- warning: the `gets' function is dangerous and should not be used.
should i consider this? Why is it dangerous?
thx