By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,441 Members | 1,446 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,441 IT Pros & Developers. It's quick & easy.

Quick favor for owners of The C++ Programming Language

P: n/a
There's an explanation in this book of why
extern "C" <blah>;
is not necessarily the same as
extern "C" { <blah>; }

(For the curious, if <blahon its own is a definition, the former is a
declaration and the latter is a definition. The reason for the former
is 'extern "C" <blah>' would then be a declaration, so sticking the
linkage in there shouldn't change it. At the same time, surrounding a
file with extern "C" shouldn't change its semantics besides linkage and
stuff like overloading.)

I want to cite that description in a paper, but I'm at home and didn't
bring my copy of TC++PL with me. Can someone who has it look up the
page number? It's *really* easy to find from looking up extern "C" in
the index. Make sure you give me the edition you're using.

Thanks,
Evan

Dec 22 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Search for "The C++ Programming Language pdf" in google....
And always you have the online reference
:)
Evan wrote:
There's an explanation in this book of why
extern "C" <blah>;
is not necessarily the same as
extern "C" { <blah>; }

(For the curious, if <blahon its own is a definition, the former is a
declaration and the latter is a definition. The reason for the former
is 'extern "C" <blah>' would then be a declaration, so sticking the
linkage in there shouldn't change it. At the same time, surrounding a
file with extern "C" shouldn't change its semantics besides linkage and
stuff like overloading.)

I want to cite that description in a paper, but I'm at home and didn't
bring my copy of TC++PL with me. Can someone who has it look up the
page number? It's *really* easy to find from looking up extern "C" in
the index. Make sure you give me the edition you're using.

Thanks,
Evan
Dec 22 '06 #2

P: n/a

Yahooooooooo wrote:
Search for "The C++ Programming Language pdf" in google....
And always you have the online reference
:)
Evan wrote:
There's an explanation in this book of why
extern "C" <blah>;
is not necessarily the same as
extern "C" { <blah>; }

(For the curious, if <blahon its own is a definition, the former is a
declaration and the latter is a definition. The reason for the former
is 'extern "C" <blah>' would then be a declaration, so sticking the
linkage in there shouldn't change it. At the same time, surrounding a
file with extern "C" shouldn't change its semantics besides linkage and
stuff like overloading.)

I want to cite that description in a paper, but I'm at home and didn't
bring my copy of TC++PL with me. Can someone who has it look up the
page number? It's *really* easy to find from looking up extern "C" in
the index. Make sure you give me the edition you're using.

Thanks,
Evan
neyonuo nuoe online ref online ref

Dec 22 '06 #3

P: n/a
Yahooooooooo wrote:
Search for "The C++ Programming Language pdf" in google....
And always you have the online reference
:)
Cool!

It even has the same page numbers as the book.
--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.
Were judging how a candidate will handle a nuclear
crisis by how well his staff creates campaign ads.
Its a completely nonsensical process.
Dec 22 '06 #4

P: n/a

Yahooooooooo wrote:
Search for "The C++ Programming Language pdf" in google....
And always you have the online reference
:)
Hey, thanks. That's pretty useful.

(Sorry Bjarne, but I do assure you that I've got a nice hardcopy copy
back at my apartment, but I flew home for the holidays and it's sorta
big and heavy for air travel if I wasn't sure if it would be useful.
;-))

Evan

Dec 22 '06 #5

P: n/a
MPA

Yahooooooooo wrote:
Search for "The C++ Programming Language pdf" in google....
And always you have the online reference
:)
Holy crap! Is that legal? Does Dr Stroustrup know about this?

Dec 22 '06 #6

P: n/a

MPA wrote:
Yahooooooooo wrote:
...
:)

Holy crap! Is that legal? Does Dr Stroustrup know about this?
No. Now he does. It happens fairly regularly:
http://www.research.att.com/~bs/bs_f...achinereadable

It's an antique versions without any of the errata applied.

-- Bjarne Stroustrup; http:www.research.att.com/~bs

Dec 23 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.