File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sum minus same as paper

 
Miguel Enriquez
Ranch Hand
Posts: 95
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
basic question: how declare a array of integers multidimensional and not know the number of cols, rows?
basically i need do these:
12598
456
--------
13054

or a minus.... then i think in a multidimensional array but not know the nmber of elements, in tese case i know the length of both numbers but what happend with the carriage?
carriage for me is: 10+4 = 4 and 1 is the carriage
thanks
 
Eddie Vanda
Ranch Hand
Posts: 281
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Miguel,
That is not a simple task. You probably should look at single dimension arrays first - maybe take a look at ArrayList. Then extend that to the first array holding the pointers to the arrays in the second dimension.
Good luck
Ed
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic