CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #1
    Join Date
    Dec 2005
    Location
    BANGALORE ,INDIA
    Posts
    19

    Question calling c++ function from c

    Hi,

    how to call a c++ function from a c program.my code

    abc.h file

    class one
    {
    private :
    public:
    }
    void function(char *str);

    the defination of function(char *str) is in abc.cpp file.

    now i need to call this function from a .c file.

    please help regarding this.
    Last edited by harshandu; December 17th, 2005 at 01:00 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured