2.2.3.3.6 complex::m_re

ClassName

complex

AccessType

public

Name

m_re

Declaration

double m_re

Remark

Examples

EX1

void    complex_real_part()
{
    complex        cc(4.5, 7.8);
    
    out_double("real part = ", cc.m_re);  // shoulde be 4.5
}

Description

the property representing the real part of the complex value.

Header to Include

origin.h

See Also

Reference