Re: [Dev-C++] Is a struct preserved when used into a cpp file?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Kevin W. <ke...@me...> - 2004-01-27 17:51:55
|
Hi all, At 12:14 27/01/04, Vinicius wrote: > > b) and I have .c (C source file) that uses the header above: > ... > void MD5Init(MD5_CTX *context); > ... This is a declaration of the function, which should be in the header so your C++ file can use it. Call the function from your c++ file: MD5_CTX mystruct; MD5Init(&mystruct); I hope that works. Kev. ============== |