Thread: structs and string compare

  1. #1
    Registered User mouse163's Avatar
    Join Date
    Dec 2002

    structs and string compare

    thanks guys for all your help so far...i think i have the loading part of this program ok, i then am using a function to output specs about the month and a total days up to and including that month.
    (would you mind looking at the file to see if it's a mess or okay?) it runs and works well.
    The next thing I have to do is input a month name (string) and output the same info.
    I am reeeeally grreen with strings and wonder if there is a way i can begin with
    "enter month number OR name" and get the same output using a diff function for each.
    I know I have to use string compare, but like I said I am trying hard to get it but haven't yet. much. I have learned MORE at this forum than anywhere else!
    I have included the program as a link. //this is my program //this is the data

  2. #2
    Registered User
    Join Date
    Nov 2001
    Post a specific problem.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 03-17-2006, 12:44 PM
  2. Replies: 41
    Last Post: 07-04-2004, 03:23 PM
  3. copying a string to an array
    By sameintheend01 in forum C++ Programming
    Replies: 7
    Last Post: 03-04-2003, 07:50 PM
  4. passing structs to functions?
    By Neildadon in forum C++ Programming
    Replies: 1
    Last Post: 12-13-2002, 04:31 PM
  5. sorting an array of structs
    By jo_jo2222 in forum C++ Programming
    Replies: 2
    Last Post: 04-08-2002, 11:52 PM