
June 4th, 2003, 10:10 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
You can't declare one function within another in C. That's the problem. You'd have to declare read() outside main(). Since read() accesses an array, you can either
(a) declare the array as a global
(b) modify the read() function to accept an array pointer as a parameter.
Hope this helps 
|