2.2.4.14.2 fpoint::x

ClassName

fpoint

AccessType

public

Name

x

Declaration

double x

Remark

Examples

EX1

void    fpoint_x_ex1()
{
    fpoint    pt(1.2, 7.6);
    
    printf("x = %f   y = %f\n", pt.x, pt.y);
}

Description

x coordinate of the point

Header to Include

origin.h

See Also

Reference