Im still pretty new to c++ and most of the things ive read so far, i get. But I dont get how to use strcpy and strcmp.
Like, I dont get what it means when it says
Could someone give me a different example of this? pleaseCode:char *strcpy ( char *dest, const char *src ); // or int strcmp ( const char *s1, const char *s2 );
EDIT: Basically what confuses me is the *dest and *src. And whats the difference in a char and a const char?
Im trying to figure out how to use the correctly because I want to make a game eventually(text to start with) and somewhere along the line I will likely use them. But I dont get how I would use them.



LinkBack URL
About LinkBacks




