putting c in a .cpp
is it possible to put C code into a .cpp? if so could somebody fill me in on how or what to search for on MSDN?
Yup.
You''re going to want to do this for the function declarations (in the .h) and the functions themselves (in the .cpp)
extern "C" {// C declarations and C code}
You''re going to want to do this for the function declarations (in the .h) and the functions themselves (in the .cpp)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement