misssing function header

S

stanlo

hello to all please can you please help me i am doing my project
mathem<athecal expression and i have an error i cannot interprete it is
,,missing function header,, i tried to see if there is something wrong
with this function and i seem to see nothin wrong with it


int goToOp1(char line[82], int startPos, int &curExprBegin);
{
int pos=startPos-2;
int sizeOfOp1=0;
int answer;
answer = 0;


above is the function definition of this function
 
O

osmium

stanlo said:
hello to all please can you please help me i am doing my project
mathem<athecal expression and i have an error i cannot interprete it is
,,missing function header,, i tried to see if there is something wrong
with this function and i seem to see nothin wrong with it


int goToOp1(char line[82], int startPos, int &curExprBegin);

The semi colon above makes that line a function prototype. Try taking it
out.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,197
Messages
2,571,040
Members
47,635
Latest member
SkyePurves

Latest Threads

Top