Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

error C2011

/* 
 *You need to top and tail your header file with an include guard, 
 * in order to avoid calling the header file twice (Once in header of child 
 * class, once in main). In order to have header specificy, it's best to
 * derive the name from the name of the class.
*/
#ifndef HEADERNAME_H
#define HEADERNAME_H
// Header code i.e. class...
#endif
 
PREVIOUS NEXT
Tagged: #error
ADD COMMENT
Topic
Name
3+3 =