Thread: Trouble with a simple array

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    36
    when you are displaying the gathered numbers with array a[j], when i delclare array 'a' at the start, what is its value

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >when i delclare array 'a' at the start, what is its value
    a doesn't exist. I usually call my scratch arrays a, and habit forced me to introduce a typo. It should be file, not a. The code has been fixed.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. base address of a simple array
    By nacho4d in forum C Programming
    Replies: 13
    Last Post: 04-07-2008, 01:28 PM
  2. Simple 2 dimensional array problem
    By AmbliKai in forum C Programming
    Replies: 4
    Last Post: 10-30-2007, 05:49 AM
  3. simple Array question.
    By Fredir in forum C++ Programming
    Replies: 6
    Last Post: 10-06-2007, 07:12 AM
  4. Template Array Class
    By hpy_gilmore8 in forum C++ Programming
    Replies: 15
    Last Post: 04-11-2004, 11:15 PM
  5. A simple question about selecting elements in an array
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 08-30-2001, 10:37 PM