My declaration:
What's giving the error:Code:char * tempToken; tempToken = "";
Code:strcpy_s(tempToken, tempInt, tempString);
Both tempInt and tempString have valid values. I have a struct called Node that has a token and a link to another Node (for a linked list). I've tried
And the error THAT gave me something along the lines of DST != NULL && sizeInByte > 0Code:strcpy_s(v->token, tempInt, tempString);
I've tried char tempToken[100]; as a declaration and char *tempToken = ""; and char * tempToken = malloc(sizeof(char)*100);
I'm banging my head against the wall here. Anyone tell me what I'm doing wrong?
Thanks in advance,
Lang




Reply With Quote