Re: Cross-platform apps
- From: Tor Lillqvist <tml iki fi>
- To: Enrico TrÃger <enrico troeger uvena de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Cross-platform apps
- Date: Wed, 26 Apr 2006 16:58:26 +0300
Enrico =?UTF-8?Q?Tr=C3=B6ger?= writes:
I had some trouble with strtod() on Windows. This is an ANSI-C
function to convert a string into a double value. strtod() detects
also hex numbers like 0x12af4b.
That is a relatively recent (ISO C99) extension, as far as I know. The
Microsoft C library is rather older. You need to look out for things
like this also if you intend your code to be portable to older Unixes,
not just Windows.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]