> This isn't surprising since default arguments are a part of C++, not C.
'Zactly Right.
> My question: How can I compile this C module under C++ such that the
> header file can successfully be compiled into this project?
The compilers accept switches to cause it to consider a file to be something
other than the default:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_co
re_.2f.Tc.2c_2f.Tp.asp
You can use the compiler's property pages in the IDE to add a switch there,
too.
Regards,
Will
Bill Davidson - 30 Aug 2006 15:34 GMT
Thanks, Will ! That's the switch I was looking for, but couldn't seem to
find.
.
Cheers,
Bill
>> This isn't surprising since default arguments are a part of C++, not C.
>
[quoted text clipped - 13 lines]
> Regards,
> Will