CLASS 썸네일형 리스트형 Structure Classes Example ' Structure to hold and manage a complex number Public Structure Complex Public Real As Double Public Imag As Double ' "Imaginary" part (coefficient of "i") ' Add another complex number to this one: Public Function Plus(ByVal Operand As Complex) As Complex Plus.Real = Operand.Real + Real Plus.Imag = Operand.Imag + Imag End Function ' Multiply this complex number by another one: Public Function T.. 더보기 이전 1 다음