Calling c function in a lib file from c++

I have to call a c function declared in a lib file from c++. What instructions/attributes/configuration I have to set for this?


Do you have a header file for the library? If so it should have

extern "C" {
blah blah

stuff in it to allow it to be used by C programs. If not, then you can put that around the include statement for the header in your own code. E.g.

extern "C" {
    #include "imported_c_library.h"

Need Your Help

Configuring tab space for Eclipse Compare Merge editor

eclipse svn diff

Is there a way to configure tab spaces for Eclipse Compare/Merge editor?

Why JSON in ajax request or why not

php jquery ajax json

I want to know when will it be reasonable to pull data from a php page via ajax in form of json array.. Suppose I have this code :

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.