Hi!
I have a C++ header-file and a C++ source-file which I would like to include and use in a C-file.
How can I get around this without converting my C-code to C++?
I can write
to include C-code into C++ files, but I need to go the other way around... Can I do this without having to compile dll-files/lib-files of my C++ code? Or without having to convert my C-file to C++?Code:extern "C" { #include <GL/gl.h> #include <GL/glut.h> #include <GL/glaux.h> }
Thanks!
Best regards,
Torbjørn