alariq wrote:
> Hello, All
> can anyone help me with my problem. Here is it
> [...]
>
> and a main class
> --- main.cpp ---
> #include "b.h"
> #include "a.h" // not really needed
>
> int main(int argc, char** argv)
> {
>
> a::C var2;
> var2.j = new a::Joint::makeStuff(); // error C2061: syntax error :
> identifier 'makeStuff'
The compiler expects a *type* after 'new'. For example,
var2.j = new a::Joint;
What is it you're trying to accomplish here?
> return 0;
> }
>
> I canot get why i have an error, becuase a::Joint is the same as
> Value. It is ok if i do not use the function but fails if i do.
Use the function to do *what*?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
|