• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

array-hopping :)

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I want to create a program, which is able to store some numbers into an array. This array, which was filled in the main-method, is to be transported to a sort-method, where the array sorts the integrated numbers using some loops.
But if i want to return the sorted array back to the main overwriting the old array, the following errors occurs:

here is the whole program, the main is not complete yet, sorry for german docs

thx for help
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe you have sorted this out by now, but here goes:
I think you should define

as

Regards.
[ June 12, 2002: Message edited by: Bharat Shah ]
[ June 12, 2002: Message edited by: Bharat Shah ]
 
Robert Ploch
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thx, the error doesnt occur now
reply
    Bookmark Topic Watch Topic
  • New Topic