Search:

Type: Posts; User: CasinoDuck

Search: Search took 0.00 seconds.

  1. Replies
    37
    Views
    4,156

    int main() { string listnamefirst[100];...

    int main()
    {
    string listnamefirst[100];
    string listnamelast[100];
    string listcity[100];
    long int listzipcode[100];
  2. Replies
    37
    Views
    4,156

    i think the difference is that i used arrays......

    i think the difference is that i used arrays... maybe thats what your asking?

    like this:

    string listnamefirst[100];
    string listnamelast[100];
    string listcity[100];
    long int...
  3. Replies
    37
    Views
    4,156

    instead of the while loop i put this loop in and...

    instead of the while loop i put this loop in and it worked

    for(i=0;i<max;i++,count++){
    indata>>namefirst>>namelast>>city>>zipcode;

    listnamefirst[i]=namefirst;...
  4. Replies
    37
    Views
    4,156

    the cause of the loop is the eof is never...

    the cause of the loop is the eof is never reached... try "pulling" the info from the file before printing to the screen.
Results 1 to 4 of 4