C++ Programming
08-10-2009, 05:19 AM
Sorry for this repost but I never found the solution.
Now I need to use struct as function parameter again and I am stuck with this error again and I cannot find anything about this in WWW.
I am adding a function with struct variable (using wizard function add) typing
Function(struct*) and I am getting this:
Function ($S1) in cpp and Function(struct *) in the h file.
Of course, the compiler complains about missing definition.
Is this a known bug?
Declaring a function manually gives same results.
void Test(struct * );
shows up in VC++ editor view as
Test($S1) immediately.
Do I need to use typedef?
Thanks for reading. Any constructive help as always is appreciated.
Thanks Vaclav
Now I need to use struct as function parameter again and I am stuck with this error again and I cannot find anything about this in WWW.
I am adding a function with struct variable (using wizard function add) typing
Function(struct*) and I am getting this:
Function ($S1) in cpp and Function(struct *) in the h file.
Of course, the compiler complains about missing definition.
Is this a known bug?
Declaring a function manually gives same results.
void Test(struct * );
shows up in VC++ editor view as
Test($S1) immediately.
Do I need to use typedef?
Thanks for reading. Any constructive help as always is appreciated.
Thanks Vaclav