RAD Studio |  |

How To Construct A Class Of Complex Vectors
Collapse All

This section contains How to Construct A Class Of Complex Vector topics.

Topics

Name | Description
Example Of Overloading Operators | The following example extends the class complex to create complex-type vectors. Several of the most useful operators are overloaded to provide some customary mathematical operations in the usual mathematical syntax. Some of the issues illustrated by the example are: The default constructor is defined. The default constructor is provided by the compiler only if you have not defined it or any other constructor. The copy constructor is defined explicitly. Normally, if you have not defined any constructors, the compiler will provide one. You should define the copy constructor if you are overloading the assignment operator. The assignment operator is overloaded.... more

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!