i have written the C code complied it with 0 error and 0 warnings.
now how can i divide this codes into small c codes in same project.
please help me as i am new to embedded world
I think a prime example of Coincidental Cohesion is to put all your globals from the whole project into one file called "globals.c" - with a corresponding "globals.h"...
That's not a prime example of anything. It is, above all, a bad example. An altogether too common one, too.
It is a prime example of a Bad Thing!
this works for me i find 0 errors and 0 warning...
thanks u all....
You mean, the compiler finds 0 errors?
But the compiler can only find syntax errors - it cannot tell if your project is well-organised, easily maintainable, reliable, etc...
In fact, 0 errors and 0 warnings doesn't even mean that your program will work!
thanks i got the problem, it was that when i am calling a function which where in the different C file was not linked with other C files of projects
thanks to all of u.
now my project is working