Thread: parallel arrays

  1. #1
    KeeNCPP
    Guest

    Smile parallel arrays

    i have 2 parallel arrays
    1st
    array is item identifier, 2nd is numstock of type int, 3rd is unit price
    of type float and 4th is value of stock of type float.


    value of stock = numstock [] * unitprice []?

    do i use pointers?

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    7
    No. What are your 2 parallel arrays, I see four.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parallel arrays
    By beginner1 in forum C Programming
    Replies: 2
    Last Post: 05-19-2009, 08:53 AM
  2. Replies: 16
    Last Post: 01-01-2008, 04:07 PM
  3. Need Help With 3 Parallel Arrays Selction Sort
    By slickwilly440 in forum C++ Programming
    Replies: 4
    Last Post: 11-19-2005, 10:47 PM
  4. Parallel Arrays
    By kippwinger in forum C++ Programming
    Replies: 3
    Last Post: 06-26-2003, 03:18 PM
  5. Parallel Arrays with Multiple Arrays
    By Billye Scott in forum C++ Programming
    Replies: 0
    Last Post: 03-02-2002, 11:14 PM