CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mothur.westcott@gmail.com

Search: Search took 0.05 seconds.

  1. Re: Adding a C program to an existing c++ project

    Thanks for the help! Adding extern "C" and changing the char* to a char** worked.

    #ifndef MY_H_
    #define MY_H_

    extern "C" {
    #include <stdio.h>

    int my_main (int, char**);
    }
  2. Adding a C program to an existing c++ project

    Hi All,
    Thanks in advance for your help. I am trying to add the source code from an existing c program to my c++ project developed in Xcode. I suspect I may be over simplifying, but I was...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured