- #1
apiwowar
- 96
- 0
Thers a class called BigInt and it has a size and digit. size is the number of digits in the integer that is entered and digit is an array that holds the integer.
theres a method which is supposed to just add one to the BigInt so i figured that i could just add one to the last element of the BigInt array. am i right in thinking that?
also, this is what i have so far:
but when i compile it i get an error saying that it expects ( infront of inc. the method isn't supposed to return anything. I am not sure why its getting that error, is it because the method is empty?
theres a method which is supposed to just add one to the BigInt so i figured that i could just add one to the last element of the BigInt array. am i right in thinking that?
also, this is what i have so far:
Code:
public void BigInt inc(BigInt num)
{
}