sprintf_s is only msvs specific function