Thread: Array

  1. #1
    Registered User
    Join Date
    Sep 2003


    I am trying ti write a C++ function addArray to add a range of elements of an array from start to end. Can anyone steer me in the correct direction?

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    for loop.
    Join is in our Unofficial Cprog IRC channel
    Channel: #Tech

    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    Registered User
    Join Date
    Sep 2003


    I know that we are not all brainers in the subject of C++. Actually I would like to become good at it soon. I do struggle! I appreciate all the encouragement and advice you have given me,

  4. #4
    Disturbed Boy gustavosserra's Avatar
    Join Date
    Apr 2003
    But you have to try at least! Any basic C++ book teaches how to do it and a lot more!!! The suggestion of major_small should be enough.
    Nothing more to tell about me...
    Happy day =)

  5. #5
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    If that wasn't enough for you, I'm going to give you a couple pointers.

    1) STFW. Google is your best friend, or at least it should be.
    2) RTFM. Your compiler came with documentation for a reason. I'm also willing to bet that you have a programming book or two laying around, or you have access to one. If you don't, several can be found with the help of the first thing I said.
    3) Run a board search. Chances are strong that your question has been asked before. See the last two comments - you're going to have to read.
    4) Look around on this site. We put this stuff here for people like you.
    5) If you'd done any of the last five things, you likely would have found your way here, which is where we keep the information on looping.
    6) You would probably, however, do better to start here.
    7) And of course, the links to all these great tutorials can be found here
    8) Further tutorials can be found here.

    Have a nice day.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 05-29-2009, 07:25 PM
  2. Replies: 6
    Last Post: 11-09-2006, 03:28 AM
  3. [question]Analyzing data in a two-dimensional array
    By burbose in forum C Programming
    Replies: 2
    Last Post: 06-13-2005, 07:31 AM
  4. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  5. Quick question about SIGSEGV
    By Cikotic in forum C Programming
    Replies: 30
    Last Post: 07-01-2004, 07:48 PM