Easy one for ya lads whats the parameters for the Strcpy()?
Example too, I'm useless decoding pseudo... Thanks!
Printable View
Easy one for ya lads whats the parameters for the Strcpy()?
Example too, I'm useless decoding pseudo... Thanks!
Prototype strcpy(char *, char *) so...
char string[255];
strcpy(string,"abcd");
... string now has abcd in it with a NULL terminator.
>>Prototype strcpy(char *, char *) so...
Watch it though... this one always catches me out. It's actually a const char * for the second parameter... it makes a difference if you want to use a char* instead of a char[]....
Almosthere
Behold! Never forget the parameters to a standard function again!
http://www.rt.com/man/