CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Location
    NY, USA
    Posts
    191

    [RESOLVED] C++ function in Excel

    I have a very simple function in c++:
    int sum(int a, int b) { return a+b; }

    I want to be able to use this simple function in excel. I googled this problem and there is a lot of material available but they are way more complex at this point for me to make complete sense of. So, I want to just do this simple exercise and build upon it in terms of complexity.

    Can anyone give me a link to such a simple exercise or give me steps, etc. I am using visual studio 2010.

    PS: Sorry I did not use code blocks since I am using my work computer and the server blocks code posting.

  2. #2
    Join Date
    Oct 2009
    Location
    NY, USA
    Posts
    191

    Re: C++ function in Excel

    Okay I got this simple thing working using an example from "a brief introduction to C++ and interfacing with Excel" by Andrew L Hazel.

    Thanks for reading.

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