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