2.2.4.35.2 point::x

ClassName

point

AccessType

public

Name

x

Declaration

int x

Remark

Examples

EX1

void    point_x_ex1()
{
    point    pt(2, 3);
    
    printf("x = %d   y = %d\n", pt.x, pt.y);
}

Description

x coordinate of the point

Header to Include

origin.h

See Also

Reference