vbbisbenc

09-02-2002, 12:49 AM

While I am learning Visual Basic for the first time, I'm having lots of trouble trying to solve a small problem: :mad:

I am required to develop a program:

I need to create a class to represent the very large integer of data and the typical operations/methods. It must use a character string to represent the long integer values, including to check any input given to make sure that the character array only contains characters "0 to 9" and the "+" and "-" symbol.

Then, I need to develop an application program that will test the above class by letting a user enter two long integers, and then will output the following results to the user's terminal:

+ The two individual values

+ The result of adding the two values together

+ The result of subtracting the first input from the second input

+ The result of subtracting the second input from the first input

Any help would be much appreciated!

Many Thanks!

I am required to develop a program:

I need to create a class to represent the very large integer of data and the typical operations/methods. It must use a character string to represent the long integer values, including to check any input given to make sure that the character array only contains characters "0 to 9" and the "+" and "-" symbol.

Then, I need to develop an application program that will test the above class by letting a user enter two long integers, and then will output the following results to the user's terminal:

+ The two individual values

+ The result of adding the two values together

+ The result of subtracting the first input from the second input

+ The result of subtracting the second input from the first input

Any help would be much appreciated!

Many Thanks!