Re: char* pname = "Harry"
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Tue, 18 Apr 2006 20:13:02 GMT
Martin Ambuhl <mambuhl@xxxxxxxxxxxxx> writes:
Keith Thompson wrote:
Martin Ambuhl <mambuhl@xxxxxxxxxxxxx> writes:
peter.koch.larsen@xxxxxxxxx wrote:[...]
I think you dropped a "not", i.e., Idiomatic C Code is *not*Or the code should be usable with both C and C++.
Continuing with your off-topic statement, for which there is no excuse.
Idiomatic C Code is "usable with both C and C++." C++ has defined
methods for linking C code written without regard to C++ arcane
requirements, so there is never a reason to pervert the normal C idiom
to "be usable with both C and C++." I thought we lost the trolls that
kept beating this horse.
"usable with both C and C++."
I did not drop a "not". For the C++ mechanism for linking to pure
idiomatic C, go to the correct newsgroup, <news:comp.lang.c++>. Why
in the world you thought I dropped a "not" is between you and your God.
Sorry, I misunderstood. I thought that you meant to say that
idiomatic C code is not valid C++ code. It should have been clear to
me from the context that C code is *usable* by C++ code via C++'s
interfacing mechanism.
(And perhaps you could have pointed out my error without getting quite
so personal about it.)
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.
- References:
- char* pname = "Harry"
- From: erktek
- Re: char* pname = "Harry"
- From: John Bode
- Re: char* pname = "Harry"
- From: peter . koch . larsen
- Re: char* pname = "Harry"
- From: Martin Ambuhl
- Re: char* pname = "Harry"
- From: Keith Thompson
- Re: char* pname = "Harry"
- From: Martin Ambuhl
- char* pname = "Harry"
- Prev by Date: Re: Different code behaviour in Unix & Windows
- Next by Date: Re: removing data in files
- Previous by thread: Re: char* pname = "Harry"
- Next by thread: Re: char* pname = "Harry"
- Index(es):
Relevant Pages
|