CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: rgmac1994

Search: Search took 0.03 seconds.

  1. Replies
    10
    Views
    8,667

    Re: 1-D Array From A Text File

    Actually, I'm glad you mentioned that. I was more inclined to use,


    while (fin.is_open())

    and I had noticed that only one cin >> c should be necessary, but I tried to keep it as accurate to...
  2. Replies
    10
    Views
    8,667

    Re: 1-D Array From A Text File

    Also, could you explain why my instructor told us to use:

    int array[i] = 0;

    The issue that comes up is that [i] is not constant, so the compiler complains that it is a variable-sized object.
  3. Replies
    10
    Views
    8,667

    Re: 1-D Array From A Text File

    Thank you for putting in so much effort to help me understand this; I greatly appreciate it. I'll repost later today, once I've gotten closer to resolve. For now, however, I need a decent break to...
  4. Replies
    10
    Views
    8,667

    Re: 1-D Array From A Text File

    Actually, I really appreciate that. I'm new to posting in forums, so I wasn't sure how to post the way most people do.
  5. Replies
    10
    Views
    8,667

    1-D Array From A Text File

    Hello, I was given an assignment on outputting the number of upper and lower case vowels from a text file. I was provided guidelines, but I'm still very new to arrays. Could someone explain to me...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured