sscanf is cross-platform, sscanf_s is only for MSVC