Re: C++ types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sunday 2 September 2007 9:21:40 pm Karl Larsen wrote:
>     I was told there is only one kind of C++ in Linux. I was surprised
> and looked at man gcc and direct that person to the section headed:

I suspect am I that person, so I guess I should consider myself directed ;)

>
>     Options Controlling C Dialect
>
>        The following options control the dialect of C (or languages derived
>        from C, such as C++, Objective-C and Objective-C++) that the
> compiler accepts:
>
>        -ansi
>            In C mode, support all ISO C90 programs.  In C++ mode, remove
> GNU extensions that conflict with ISO C++.
>
>
>     This is what I was in referance to. I wonder what C Dialect Windows
> uses?

This is different to what you original said, to quote "Do recall that there 
are many basic types of C++ and you need to let them know which to use"

i.e. you are suggesting there are different types of "C++" - As far as I am 
considered this in incorrect.

C,  C++, Objective-C and Objective-C++ are all *different" languages in 
themselves. They may share some common heritage in C or C++, but they are not 
the same language in a strict sense.

( Its the same as American English being very similar to English (British), 
but not being the same, far from it ;) ) 

Chris


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux