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

What is an implicit extern "C" declaration?

P: n/a
Hi,

What is implicit extern "C" declaration in C++?
Can anybody give me an example?

Thanks a lot!

Andy

Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Andy wrote:
Hi,

What is implicit extern "C" declaration in C++?
Can anybody give me an example?


Where did you get that question?

--
Attila aka WW
Jul 23 '05 #2

P: n/a
What is implicit extern "C" declaration in C++?
Can anybody give me an example?


It's a linkage directive. It tells the compiler that a function has
been written in a different programming language (i.e. C) and that
different requirements apply (e.g the function's name will not be
encoded like a regular C++ function). There's a good example here that
applies to writing dlls. For more see Lippman.
http://www.functionx.com/visualc/lib.../staticdll.htm

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.