Bit Integer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to make a class that can handle the range of numbers
0 to (256^4) ^ (9,999,999,999^2)

what i dont understand is how to make this class so that i can use the
arithemetic operators such as = + - ^ * / ect.

do u just create method such as Add Or Subtract

if so where is the documentation so that i know what to name the function and
what values to take in as arguments and what to return as

thank you

WStoreyII
 
WStoreyII said:
I need to make a class that can handle the range of numbers
0 to (256^4) ^ (9,999,999,999^2)

what i dont understand is how to make this class so that i can use the
arithemetic operators such as = + - ^ * / ect.

do u just create method such as Add Or Subtract

if so where is the documentation so that i know what to name the function and
what values to take in as arguments and what to return as


You can't (yet) overload operators in VB.Net. Other languages can.
For an example of how MS handled this take a look one of the value types
(Decimal, for instance:)
http://msdn.microsoft.com/library/d...l/frlrfsystemdecimalclassop_additiontopic.asp

HTH
LFS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Module 2
Class Inherits Question 2
Email 3
Authoring Datacolumns 1
Sign extend 16-bit value to Integer 5
dlls in VB.NET (VS 2008). 1
Argument out of range exception 5
Storing Integer array in DB 1

Back
Top