This is a discussion on Linking a C++ program to C functions within the C and C++ Programming forums, part of the Software Development category; Linking a C++ program to C functions By using the extern "C" linkage specification around the C function ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Linking a C++ program to C functions By using the extern "C" linkage specification around the C function declarations. Programmers should know about mangled function names and type-safe linkages. Then they should explain how the extern "C" linkage specification statement turns that feature off during compilation so that the linker properly links function calls to C functions. Another acceptable answer is "I don't know. We never had to do that." Merely describing what a linker does indicates that the programmer does not understand the issue that underlies the question.
__________________ J.Vijayanand |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What are Virtual Functions? How to implement virtual functions in "C"? | Sabari | C and C++ Programming | 4 | 09-10-2007 11:35 PM |
| How to launch Real Player program through my j2me midlet program? | itbarota | J2ME | 1 | 07-25-2007 11:39 PM |
| when the program is executing,how to stop the program and open the cmd window... | bluesky | C# Programming | 1 | 07-25-2007 05:51 AM |
| How can I invoke another program from C? | Sabari | C and C++ Programming | 1 | 07-17-2007 04:05 AM |
| chat program | pranky | C and C++ Programming | 0 | 02-24-2007 01:02 AM |