This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: c++ question
- From: Joe Buck <jbuck at synopsys dot com>
- To: gs01han at yahoo dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 31 Mar 2003 08:49:13 -0800
- Subject: Re: c++ question
- References: <E18zJQf-0004Ah-00@monty-python.gnu.org>
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.