'cannot convert from 'int *' to 'int A:
''. Why this error is thrown when b is of type A
Yes b is of type A but you are trying to assign the address of b.d which is an int.
Also A is a class, where as b is an instance of class A. Which are you trying to point to ?
Last edited by hollystyles; Jun 30th, 2006 at 9:20 am.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
Offline 1,181 posts
since Feb 2005