Im trying to read an URL from a file like this
ID 0
FILE ".\\Models\\Woman2.nfg"
And save it into a char tempURL[80]
the line im having trouble with is the second one.
fscanf_s(mFile, "ID %d", &TempId);
fscanf_s(mFile, "%*s %s", tempURL);
the first line works fine, but the second one crashes the program What am I doing wrong?
Thanks