OiO.lk Blog C# How to add another C file in Code::Blocks
C#

How to add another C file in Code::Blocks


so my teacher wants the function prototypes and typedefs for my project stored in a separate .c file.
so main.c has the stuff to do, another.c has the protypes and typedefs, and another.h has the declarations.

how can i do this? i am using GNU GCC compiler because it seems like this is a compiler specific issue. i was trying gcc another.c but the compiler doesn’t recognize the gcc so i think I’m doing it wrong.

i feel so dense…. i have the entire project working good but everything that’s supposed to be in the another.c is in the another.h….

thanks



You need to sign in to view this answers

Exit mobile version