Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CWnd::FindWindow() Pin
jmkhael9-Oct-02 6:56
jmkhael9-Oct-02 6:56 
GeneralRe: CWnd::FindWindow() Pin
Carlos Antollini9-Oct-02 10:10
Carlos Antollini9-Oct-02 10:10 
Generalisdigit and decimal point Pin
ns9-Oct-02 4:14
ns9-Oct-02 4:14 
GeneralRe: isdigit and decimal point Pin
Steve S9-Oct-02 4:20
Steve S9-Oct-02 4:20 
GeneralRe: isdigit and decimal point Pin
Steen Krogsgaard9-Oct-02 4:19
Steen Krogsgaard9-Oct-02 4:19 
GeneralRe: isdigit and decimal point Pin
RedZenBird9-Oct-02 4:58
RedZenBird9-Oct-02 4:58 
GeneralRe: isdigit and decimal point Pin
ns9-Oct-02 4:40
ns9-Oct-02 4:40 
GeneralRe: isdigit and decimal point Pin
Steen Krogsgaard9-Oct-02 5:00
Steen Krogsgaard9-Oct-02 5:00 
Yeah, I thought of that one too when looking atof i MSDN. Makes the function pretty useless, right?

Anyway, I'd still go for parsing the string myself, looking for digits, points and commas (used for thousand-separators), pluses and minuses. And other characters if you accept scientific representation. As someone suggested, get the characters used for decimal-point and thousand-delimiter from Windows, they can be set by the user individually.

I'd be happy to write you an example, but I'm out of time today.

Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
GeneralStrange crush Pin
Hans Ruck9-Oct-02 3:52
Hans Ruck9-Oct-02 3:52 
GeneralRe: Strange crush Pin
Daniel Strigl9-Oct-02 3:53
Daniel Strigl9-Oct-02 3:53 
GeneralRe: Strange crush Pin
Daniel Turini9-Oct-02 3:56
Daniel Turini9-Oct-02 3:56 
GeneralRe: Strange crush Pin
Hans Ruck9-Oct-02 4:16
Hans Ruck9-Oct-02 4:16 
GeneralRe: Strange crush Pin
Steen Krogsgaard9-Oct-02 4:25
Steen Krogsgaard9-Oct-02 4:25 
GeneralRe: Strange crush Pin
Hans Ruck9-Oct-02 4:36
Hans Ruck9-Oct-02 4:36 
GeneralRe: Strange crush Pin
Steen Krogsgaard9-Oct-02 4:37
Steen Krogsgaard9-Oct-02 4:37 
GeneralRe: Strange crush Pin
Hans Ruck9-Oct-02 5:00
Hans Ruck9-Oct-02 5:00 
GeneralRe: Strange crush Pin
Steen Krogsgaard9-Oct-02 5:18
Steen Krogsgaard9-Oct-02 5:18 
GeneralRe: Strange crush Pin
Hans Ruck9-Oct-02 5:55
Hans Ruck9-Oct-02 5:55 
GeneralRe: Strange crush Pin
Steen Krogsgaard9-Oct-02 22:04
Steen Krogsgaard9-Oct-02 22:04 
GeneralRe: Strange crush Pin
Ranjan Banerji9-Oct-02 4:26
Ranjan Banerji9-Oct-02 4:26 
GeneralRe: Strange crush Pin
Hans Ruck9-Oct-02 4:44
Hans Ruck9-Oct-02 4:44 
GeneralRe: Strange crush Pin
Daniel Turini9-Oct-02 4:35
Daniel Turini9-Oct-02 4:35 
GeneralRe: Strange crush Pin
Hans Ruck9-Oct-02 5:03
Hans Ruck9-Oct-02 5:03 
GeneralRe: Strange crush Pin
Mike Player9-Oct-02 6:25
Mike Player9-Oct-02 6:25 
GeneralRe: Strange crush Pin
Hans Ruck9-Oct-02 7:03
Hans Ruck9-Oct-02 7:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.