Results 1 to 2 of 2

Thread: operator Overloding

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Location
    Kathmandu,`Nepal
    Posts
    1

    Question operator Overloding

    I a electrical engineering student and doing a project regarding fault analysis using Visual Basic 6 coding. I am having problems handling the complex numbers. User defined variable are hard to manipulate; addition, subtraction, multiplication or division, each gives a problem. The problem becomes worst when dealing with fault analysis where you must deal with complex number in each step.
    Operator overloding is possible with c++. Is it possible with visual basic. If not how can I solve the problem?

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    If you use VB6, you shouldn't post in the VB.NET forum.
    You could get answers that don't apply to the version you use.

    But about operator overloading:
    This is not possible with VB6 or VB.NET.
    You need C++ or C# to do that.
    I guess your only option is to create a function for this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width