MathPad

I have been making efforts to create a calculator using C++. However with every project I make I hit a dead end somewhere often because I flat out do not understand the problem.

\Form1.h(375): error C3861: 'setMathBox': identifier not found
\Form1.h(429): error C3861: 'setText': identifier not found
These are the errors that I got from the output box I do not really get why this is happening. When the functions are prototyped above under public. Any help with this issue would be much appreciated.


http://pastebin.com/uGq18Dn1
1) This is not C++. This is C++/CLI which is another language.
2) Your setMathBox and setText functions are not declared before use, so compiler does not know they exist.
So how should I got about fixing this.
Forward declare it or move them before their use
http://www.learncpp.com/cpp-tutorial/17-forward-declarations/
Where would they need to be moved I tried putting them under private.
move setMathBox inside class.
Thanks I might have hit the heart of the problem.
Topic archived. No new replies allowed.