> You can either define a constructor in your struct or define a
> stand-alone function that would return a struct made from two arguments
> (sort of out-of-the-class constructor):
>
> struct POINT {
> int x,y;
> POINT(int x_, int y_) : x(x_), y(y_) {} // constructor
> };
> ...
> myFunction(POINT(1,2));
>
> or
> POINT makePOINT(int x, int y) {
> POINT p = { x, y };
> return p;
> }
> ...
> myFunction(makePOINT(1,2));
>
> Beware, that according to the current Standard, adding a user-defined
> constructor prevents your class from being a POD. I think it's fixed in
> the upcoming Standard. It actually may not mean anything different to
> your program, but I just thought I'd mention it.
Thank you very much. It helped a lot

Konrad