Re: [Dev-C++] Export keyword problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Mac R. <re...@no...> - 2002-06-13 21:40:15
|
>The book C++ Primer, 3rd edition, Lippmann and Lajoie, speaks on two
>models of compilation: separation and inclusion. The separation model
>defines a function in a separate file and it becomes available with the
>keyword export. I tested this in the Dev and it did not work. The
I do not have this book available, but in a fair number of years of C and
C++ programming, I have never heard of the "export" keyword, except for DLL
creation in Microsoft compilers. The closest I can think of is the
"extern" keyword, but it is used to import things from other compilation
units, and it is _not_ needed to get access to functions.
Could you give one or more quotes from your book, preferably with small
code examples if possible?
Mac
-
_____________________________ /"\
Mac Reiter \ / ASCII Ribbon Campaign
Nomadics, Inc. X Against HTML Mail
re...@no... / \ (To join the campaign, simply use
this in your signature.)
|