Article View: comp.std.c++
Article #3338Re: Are all Windows programs ill-formed?
From: J. Kanze
Date: Sat, 10 Feb 1996 09:11
Date: Sat, 10 Feb 1996 09:11
39 lines
2382 bytes
2382 bytes
In article <311417C8.4016@suphys.physics.su.oz.au> John Max Skaller
<maxtal@suphys.physics.su.oz.au> writes:
> James Kanze US/ESC 60/3/141 #40763 wrote:
> > I believe that the simple answer is that Windows programs operate in a
> > unhosted environment.
>
> This is a clear condemnation of the Standard,
> Windows is obviously a hosting operating system.
Not necessarily in terms of the standard. The standard defines what a
hosted environment must provide. If Windows doesn't provide it, then it
is not a hosted environment.
> > |> But if a compiler does not accept
> >
> > |> int main() { return 0; }
> >
> > |> as a complete program, then that compiler is not a conforming C or C++
> > |> implementation.
> This is the crux of the problem. More important, when I
> try to use "cout" the program won't link.
An unhosted environment does not have to provide cout. I suspect that
most won't.
If there is not a way to get the above program to compile, link and
execute, however, then I will have to take back my defense of Microsoft
in previous postings. I find this hard to believe, however.
--
James Kanze (+33) 88 14 49 00 email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs Bourgeois, 67000 Strasbourg, France
Conseils, itudes et rialisations en logiciel orienti objet --
-- A la recherche d'une activiti dans une region francophone
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. Moderation policy:
http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
Technical Details
Message-ID:
<KANZE.96Feb9173036@gabi.gabi-soft.fr>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backReferences:
<AE5J83na99@qsar.chem.msu.su> <9602010236.26117@mulga.cs.mu.OZ.AU> <9602021032.AA05302@lts.sel.alcatel.de> <311417C8.4016@suphys.physics.su.oz.au>Show Full Headers
Complete Article Headers
From: kanze@gabi.gabi-soft.fr (J. Kanze) Message-ID: <KANZE.96Feb9173036@gabi.gabi-soft.fr> X-Original-Date: 09 Feb 1996 16:30:36 GMT Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 10 Feb 96 09:11:02 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ Subject: Re: Are all Windows programs ill-formed? Organization: GABI Software, Sarl. References: <AE5J83na99@qsar.chem.msu.su> <9602010236.26117@mulga.cs.mu.OZ.AU> <9602021032.AA05302@lts.sel.alcatel.de> <311417C8.4016@suphys.physics.su.oz.au> In-Reply-To: John Max Skaller's message of 05 Feb 1996 09:26:48 PST X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMRxhM+EDnX0m9pzZAQErsgF/bWWSZ0M1+SN7zlSEZUxlF84AFwjngqcS HEl/H6v58UcY1JPBz7jzEmpo19Z9VoEc =hlCV