where should:
#inlcude "inline_file.i" // contains inline functions
go??? in the header file (.h) or the implementation file (.cc)?
at first i was putting it in the header file and i was getting tons of errors, then i put it in the implementation file and it worked. it works so i'm fine, but someone keeps on telling me that it should go in the header file, so i need to know which way is the correct way.
thanks.
#inlcude "inline_file.i" // contains inline functions
go??? in the header file (.h) or the implementation file (.cc)?
at first i was putting it in the header file and i was getting tons of errors, then i put it in the implementation file and it worked. it works so i'm fine, but someone keeps on telling me that it should go in the header file, so i need to know which way is the correct way.
thanks.