|
-
Aug 24th, 2008, 10:28 PM
#1
Thread Starter
Addicted Member
Problem when trying to import C code into C++
I'm trying to make use of this library (http://www.sintef.no/upload/IKT/9011...eg_1.0_gpl.tgz) in a C++ library. Unfortunately C and C++ aren't languages I'm overly familiar with. I just want to get the code running enough so that I can see how it works and convert it to VB .NET.
I load the C source code into Visual Studio and the problems begin. When I try to compile the project, I get errors like this:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cerrno(18): error C2143: syntax error : missing '{' before ':'
This confuses me because the error seems to be occuring in code that comes with Visual Studio.
Any ideas please?
Last edited by Holywhippet; Aug 24th, 2008 at 10:58 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|