Home > Back-end >  Sscanf inconsistent results in different operating systems
Sscanf inconsistent results in different operating systems

Time:09-22

2.36 e-7 AnsiString TMP="";
Int BER.
Sscanf (TMP) c_str (), "e - % d", & amp; BER);
In Windows xp and Windows server 2003 BER value is not the same, xp for 7, win2k3 0 in Windows 7 is 0, win2008 for 7. Because of the operating system?

CodePudding user response:

Sscanf (TMP) c_str (), "% * d. % * DE - % d", & amp; BER);
  • Related