C struct, typedef, enum & union - Tenouk C & C++
C struct, typedef, enum & union - Tenouk C & C++
C struct, typedef, enum & union - Tenouk C & C++
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
STRUCT, TYPEDEF, ENUM & UNION• The macro __FILE_NAME_EXTENSION__ indicates thatthe file has been included once already.• Its name should begin with '__' to avoid conflicts with userprograms, and it should contain the name of the file andsome additional text, to avoid conflicts with other headerfiles.• In our example, the #ifndef statements should be,#ifndef __MYHEADERFILE_H__#define __MYHEADERFILE_H__Declaration and definition go here#endif /* __MYHEADERFILE_H__ */www.tenouk.com, © 48/93