02-22-2007 01:13 AM
02-22-2007 02:07 AM
Hello Subrata,
What do you mean by "communicate among these .c files" ?
Share variables, call functions that are defined in an other .c file ? Just let me know.
Regards,
02-22-2007 04:08 AM
02-22-2007 05:20 AM
A similar but more structured approach can be found taking as an example iconedit application shipped with CVI ( <cvidir>/samples/apps/iconedit folder 😞 here every source file has an associated header file with functions and variable definitions for elements common to more than one module; these files are included in every source file that needs them; elements confined to a single source file are defined at this level.
Such an approach in my opinion, while it is correct for large, modular and heavily structured applications, is oversized for little ones and can be difficult to understand and maintain (i.e. the cost of this structure is not justified by the application type). But this evaluation is heavily dependent on personal and company standards.