Loading lang_c_ex_0102...
//----------------------------------------------------------------------------
#ifndef UTIL_H #define UTIL_H
void utilFnct(void);
#endif // UTIL_H
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include "util.h"
#include <stdio.h>
void utilFnct(void) { printf("in utilFnct()\n"); }
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#ifndef MODULE_H #define MODULE_H
void moduleFnct(void);
#endif // MODULE_H
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include "module.h" #include "util.h"
#include <stdio.h>
void moduleFnct(void) { printf("enter moduleFnct()\n"); utilFnct(); printf("leave moduleFnct()\n"); }
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#ifndef COMMON_H #define COMMON_H
void commonFnct(void);
#endif // COMMON_H
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include "common.h"
#include <stdio.h>
void commonFnct(void) { printf("in commonFnct()\n"); }
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#ifndef TOOL_H #define TOOL_H
void toolFnct(void);
#endif // TOOL_H
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include "tool.h" #include "common.h"
#include <stdio.h>
void toolFnct(void) { printf("enter toolFnct()\n"); commonFnct(); printf("leave toolFnct()\n"); }
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#ifndef DETAIL_H #define DETAIL_H
void detailFnct(void);
#endif // DETAIL_H
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include "detail.h"
#include <stdio.h>
void detailFnct(void) { printf("in detailFnct()\n"); }
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#ifndef HELPER_H #define HELPER_H
void helperFnct(void);
#endif // HELPER_H
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include "helper.h" #include "detail.h"
#include <stdio.h>
void helperFnct(void) { printf("enter helperFnct()\n"); detailFnct(); printf("leave helperFnct()\n"); }
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include "module.h" #include "util.h"
#include "tool.h" #include "common.h"
#include "detail.h" #include "helper.h"
int main(void) { utilFnct(); moduleFnct();
commonFnct(); toolFnct();
detailFnct(); helperFnct(); return 0; }
//----------------------------------------------------------------------------