473,379 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Quick favor for owners of The C++ Programming Language

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
6 1107
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

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
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.
We’re judging how a candidate will handle a nuclear
crisis by how well his staff creates campaign ads.
It’s a completely nonsensical process.
Dec 22 '06 #4

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
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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: StenKoll | last post by:
Help needed in order to create a register of stocks in a company. In accordance with local laws I need to give each individual share a number. I have accomplished this by establishing three tables...
1
by: aredo3604gif | last post by:
On Sun, 10 Apr 2005 19:46:32 GMT, aredo3604gif@yahoo.com wrote: >The user can dynamically enter and change the rule connection between >objects. The rule is a "<" and so given two objects: >a <...
33
by: earthlinkmail | last post by:
....you experienced programmers of C; did you start with C? What course of study did you pursue to get to where you are today? Would you suggest starting with REALbasic first for a n00b? I am...
5
by: r035198x | last post by:
Setting up. Getting started To get started with java, one must download and install a version of Sun's JDK (Java Development Kit). The newest release at the time of writting this article is...
0
by: r035198x | last post by:
Inheritance We have already covered one important concept of object-oriented programming, namely encapsulation, in the previous article. These articles are not articles on object oriented...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.