Need help in Including/converting C files in C++ project
- From: "Lau Lei Cheong" <leu_lc@xxxxxxxxxxxx>
- Date: Fri, 6 May 2005 12:36:45 +0800
Hello,
I've a few C files in hand containing functions that can be used to
convert a string into MD5 hash string. When I tried to include the c sources
and header files to the project, a lot of errors and warnings comes out.
The c files can be compiled and run successfully when placed in a
standalone project. (with "Project Properties"->"Advanced"->"Compile to" set
to "C executables" of course, and compile option "-DMD=5" to specify the MD
marco)
So I think the sources are Okay.
Would anyone please give me a pointer on how to "include the files in
C++ project"/"convert these C files to C++ sources"?
A second question is: If I included the files, would it be right to just
specify the "-DMD=5" in the project properties, or I should specify it
elsewhere?
Thanks a lot.
Regards,
Lau Lei Cheong
--
If you want to mail to me, please replace all instance of "e" to "a" in my
email address. Thank you.
Sorry for any inconvience caused, but there's many spam-mailers.
.
- Follow-Ups:
- Re: Need help in Including/converting C files in C++ project
- From: John Carson
- Re: Need help in Including/converting C files in C++ project
- Prev by Date: Re: string to int
- Next by Date: Re: VC++ beginner question
- Previous by thread: switching stdout to a file
- Next by thread: Re: Need help in Including/converting C files in C++ project
- Index(es):