Warning C4477 "sscanf_s" : the format string "% s" need to type "unsigned int" argument, but variable parameter have type 2 "unsigned __int64"
CodePudding user response:
To bring back buffer sizeA buffer size parameter is required when you use the type field characters c, c, s, s, or string control sets that are enclosed in [the]. The buffer size in characters must be supplied as an additional parameter immediately after each buffer parameter that requires it.
Sscanf_s (tokenstring, "% s", s, (unsigned int) _countof (s));
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/sscanf-s-sscanf-s-l-swscanf-s-swscanf-s-l? View=v - 2019
CodePudding user response:
This is written, took the array sizeCodePudding user response:
The code to see to see