For Programmers: Free Programming Magazines  


Home > Archive > C > April 2004 > Re: Wrong results when comparing negative double variables in an if statement









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Wrong results when comparing negative double variables in an if statement
Michael Wojcik

2004-04-27, 12:16 am


In article <c6caje$aht8h$1@ID-227552.news.uni-berlin.de>, Martin Ambuhl <mambuhl@earthlink.net> writes:
>
> It is invalid in a hosted implementation (which anything running under
> Window is) ...


A great many Windows programs run in a freestanding implementation
known as "GUI mode". Such programs enter in a function named WinMain.

This freestanding implementation is itself implemented under a
hosted implementation, but a Windows GUI-mode program's main is
part of the implementation, not part of the user program.

Of course, if you're writing a Windows program, and it includes a
main, you're almost certainly writing to the hosted implementation
and that main should conform to the spec.

--
Michael Wojcik michael.wojcik@microfocus.com

Dude, it helps to be smart if you're gonna be mean.
-- Darby Conley
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com