This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++ question


On Sat, Mar 29, 2003 at 11:43:12AM -0500, gs01han at yahoo dot com wrote:
> There is questions that I saw on your webpage but 
> no answer on it. and i try to solve it with no success
> if you sont mind can you tell me the answer?

You didn't see these questions on our web page.  Your homework assignment,
perhaps?

> Assume that a is a C++ array containing n elements 
> of type int.
> a) Write a for statement that adds up all 
> the element in a. Use array subscripting to access
> the elements of a.

It will be better for you in the long run if you do your own homework,
instead of trying to get others to do it for you.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]