![]() |
initilizer incmplete type
i am doing this program which is a parser calculator but when i compile it there's an error which is "FunctionTable funtab has initializer but incomplete type", i am using codeblocks 8.02, and my program is kinda long. I think my algorithms are correct and the only problem is in the syntax or how i coded it... here's a snipet of the main function
:
its compiled as a one project, thats why it only had one header file, it is composed of 9 source files and 8 header files. i suppose that the problem is in the function table source file or function table header file... FunTab.h :
FunTab.cpp :
should i provide a Link to the whole program? thank you very much... |
Re: initilizer incmplete type
:
This doesn't look right to me, you have the const keyword without a name. |
Re: initilizer incmplete type
Quote:
const there indicates that when the method is called, it does not modify the object. |
Re: initilizer incmplete type
zip up the source and attach it
|
Re: initilizer incmplete type
|
Re: initilizer incmplete type
You need to:
:
#include "Scanner.h"#include <cassert> in PTree.hAnd there's an error in SymTab.cpp at line 54 about calling strcmp with 3 arguments. No doubt you meant to usestrncmp. |
Re: initilizer incmplete type
Quote:
|
| All times are GMT -5. The time now is 9:25 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC