[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Re: [NOVICE] C++



sslug@sslug wrote:
> 
> Ethvert program retunerer uanset om returværdien er defineret eller ej en
> int til styresytemet -- derfor er syntaksen
> 
> void main(...) {... } *ikke* god programmeringsskik i følge C++-standarden
> ISO/IEC 14882:1998(E) .
> (hvorfor MS vc50 stadig tillader denne syntaks ved jeg ikke).

> #include <iostream.h>
> int main() {
>         cout << "Hej Verden!\n";
>         return 0;
> }

Nu vi er ved det, er det heller ikke særlig god prgrammeringsskik
(eller i overensstemmelse ISO'en) at dumpe iostream-klasen i globalt
navnerum med <iostream.h>. :)

-- 
Mvh
Lau Sennels


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *