Search:

Type: Posts; User: chavezra

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    832

    I understand arrays pretty well. It's combining...

    I understand arrays pretty well. It's combining one with an input file that confuses me.
    Here is what I have so far:


    void fill_array(int a[],int size, int& number_used)

    {
    int...
  2. Replies
    2
    Views
    832

    Getting Input to fill an array

    I don't quite understand how to get an input file to fill an array. It's part of a much bigger program, and I need this file (filled with 20 numbers) to be read in it's entirety (an eof?) to an array.
Results 1 to 2 of 2