[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Desperate in need of help: Very very weird problem with sscanf
From: Rafael =?iso-8859-15?q?Fern=E1ndez_L=F3pez?= <ereslibre () kde ! org>
Date: 2009-08-19 14:48:04
Message-ID: 200908191648.06750.ereslibre () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 19 August 2009 15:16:36 Sebastian Trüg wrote:
> I am lost here.
> Consider this little app:
>
> #include <stdio.h>
> int main(int argc, char* argv[])
> {
> const char* s = "-0.250000 0.750000";
> float a = 0.0, b = 0.0;
> sscanf( s, "%f%f", &a, &b );
> printf( "%f %f\n", a, b );
> }
>
> the output is this:
> "-0.250000 0.750000"
>
> BUT: as soon as I link libnepomuk to it the output changes to:
> "-0,000000 0,000000"
I am having a look at it. It doesn't seem to be libnepomuk, but libkdecore.
Regards,
Rafael Fernández López.
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic