structure - Returning structs inside a class -
I am converting my application into an OOP type, but I am having problems with the support function. This is for my .cpp file This is for my .h file There are many errors but I would like to start with the first error Which is Turn add_section in: Since section_t is a member of XIniFile
section_t XIniFile: : * AddSection (ini_file_t * n, char) for a function "addSection" D) {section_t * s = (section_t *) malloc (sizeof (section_t *); // add section; return s;}
error: a ???? Section_tate Do not have a type of name
XIniFile :: section_t * XIniFile :: add_section (ini_file_t * n, char * d)
Comments
Post a Comment