Search:

Type: Posts; User: Euph11

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    959

    Outputting Associated Data in Struct

    So this is the last part of a program I've been working on for four weeks now. This question may be a tough one considering the amount of files included in the program.

    The program is to read in a...
  2. Replies
    4
    Views
    1,716

    It might help if I specify I am attempting to...

    It might help if I specify I am attempting to output information stored in a struct, which is also stored in a pointer-based array.

    I'll post the sections of code where I imagine the problems are...
  3. Replies
    4
    Views
    1,716

    Thanks, that helped. The code looks cleaner now...

    Thanks, that helped. The code looks cleaner now and was easier to format the output. However, the subsequent lines are still not formatting according to the first line. They tend to start underneath...
  4. Replies
    4
    Views
    1,716

    Displaying a Well-Formatted Table

    I have posted recently regarding this program but seeking additional assistance for a different matter. The program should display a formatted table of Flights and their information. I am able to...
  5. Replies
    7
    Views
    21,171

    Thank you all for your help, I was able to...

    Thank you all for your help, I was able to resolve the problem through the help provided.
  6. Replies
    7
    Views
    21,171

    I removed friend from both my header and...

    I removed friend from both my header and implementation.

    I kept 'flightStruct' scope resolution operator, but I am not sure if this is necessary. If I remove it from this definition and my other...
  7. Replies
    7
    Views
    21,171

    Thanks, Jim. I found my errors and have...

    Thanks, Jim.
    I found my errors and have corrected them but I am getting another error. Isn't this error similar to the original just worded differently? Why is this happening?

    type.h:26: error:...
  8. Replies
    7
    Views
    21,171

    Overloading '

    I am currently trying to overload the '<<' operator using a struct that holds a flight's number, origin, destination, and price. However, I am continuously getting this error. I have searched boards...
  9. Replies
    4
    Views
    1,766

    Aye...how embarrassing. Well that obviously fixed...

    Aye...how embarrassing. Well that obviously fixed that. Thanks.
  10. Replies
    4
    Views
    1,766

    Thanks, I had a feeling it was the placement of...

    Thanks, I had a feeling it was the placement of the struct and enum. However, now my SuitType is not being recognized in the FormCards function. Is this a matter of it not being passed into the...
  11. Replies
    4
    Views
    1,766

    Accessing an Array of Struct type in Function

    Looking for some help from the community. I can't seem to find the exact answer to my question after browsing around.

    I am in the beginning stages of a program and after declaring a struct...
  12. Replies
    4
    Views
    3,009

    Thanks for the help. ronin helped me fixed the...

    Thanks for the help. ronin helped me fixed the problem and C_ntua also provided some useful information. Salem...I'm in the same boat you are from looking at my code. What I am being taught has not...
  13. Replies
    4
    Views
    3,009

    Help using strcpy for arrays

    Well this is my first attempt at receiving help from the community. I am currently a Computer Science major at a University and am in my second semester. My current teacher has not been of much help...
Results 1 to 13 of 13