Nasao sam neki tutorial za c na netu i prekucao sam kod koji covek radi u primeru i njemu radi a meni ne,ako moze neko da mi objasni sto ne radi bio bi mu zahvalan.evo linka [Link mogu videti samo ulogovani korisnici]
evo mog koda i greske koje mi izbacuje
#include <stdio.h>
main()
{
char name[21];
strcpy(name, "Mark");
printf("The contents of name are %s\n ",name);
fflush(stdin);
getchar();
}
evo i gresaka
C:\Users\PCPCPCPC\Desktop\Untitled1342.cpp In function `int main()':
6 C:\Users\PCPCPCPC\Desktop\Untitled1342.cpp `strcpy' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.)
|