I know about the differences between C and C++, indeed :-). My question is the following:
I need to use only six-seven functions in my ns-3 code. Therefore, it looks as though I can create a header which declares only those functions and a ".c" or ".cc" file which defines them. I should be all set then. Am I correct or not ??? On Sun, Nov 29, 2015 at 1:29 PM, Andrew Makhorin <[email protected]> wrote: > > > > > Thanks. But as I mentioned before, I am not using gcc !. I am > > compiling with waf. > > I didn't mention gcc. I mentioned a C compiler you need to compile the > package. > > > But apart from this, you mean there is no way to have the definition > > of some of the methods (the ones I have used in my code), in some > > files ???. This is really strange. > > Unlike C++ in the C programming language there are no methods. Glpk is > implemented as a set of functions (routines) and data structures. > Specifications are given in the headers *.h while the function > definitions are given in the source files *.c. Please see > http://en.wikipedia.org/wiki/C_%28programming_language%29 . > > > > >
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
