....????
....????
Libraries? Like what? Some are native to C (they work with both) and some are native to C++.
C programs can call library functions created with a C++ compiler if the function name isn't mangled. In C++, you can use the command:
To keep the compiler from decorating the function name.Code:extern "C" {...}
Originally Posted by bithub
what do u mean "mangled" up.
do u know any good sites where u can get extra libraries to extend c????
What kind of libraries are you looking for?
C++ mangles function names to allow for things like overloading. For instance, then functionwhat do u mean "mangled" up.
int test(char*,int)
will get mangled to:
?test@@YAHPADH@Z
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
thanks for the linkOriginally Posted by Salem
does anybody know any other links for c other additional libraries, preferably for working with windows
That question is far too generic to answer. What do you need a library for?