i want to initialize an array(set all elements to 0) . The array is to be used by different functions which r defined outside the class. obviously i cant initialize it in the class. and if i do it in a constructor or main(), it isnt recognised by all the functions outside the class using it.
Sure it is. You probably did it wrong if it's not working. Define what you mean by "
it isnt recognised"
Reputation Points: 3278
Solved Threads: 894
Posting Sage
Offline 7,747 posts
since May 2006