x* y;

what does x* y means?can anyone explain to me...
thank you.
explain as wel x* y=NULL...
thank you.
It depends on how the operator*() function is overloaded.

In primitive data types, it is the multiplication sign.
CComPtr<IDispatch> p; what does this mean "<>" means.
Depends on the context, but I think you mean a declaration this:

 
x* y;


Declare y as a pointer to an x.
Look at http://www.cplusplus.com/doc/tutorial/pointers.html for a tutorial on pointers.
is this syntax x* y; and x *y different??
or the same??..what is the different?
cva: they are the same.

1
2
3
4
5
6
7
int* x, y; // x is a pointer and y is not
int *x, y; // easier to see that in this case

// However, declaring several variables in one line is less common in C++
// This is better:
int* x = 0; // Always initialize pointers
int y;
Topic archived. No new replies allowed.