|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I'm a beginner in C programming language, we use TurboC2.0 compiler in the labs but I have apple so I use Xcode at home to practice. We solved an array program in the lab today, the program read in at most 20 real numbers into an array, and then print the number closest to the average of the 20 numbers. But when I try the same problem at home Xcode compiles with errors saying that (array subscript is not an integer) also (stray '\32' in program), I never had this kind of problems with other programs which works in TC2.0 . The source code is as follows:
|>Please help (From: Yuan <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.