Birthstones, Months, Strings and Functions!

This is a discussion on Birthstones, Months, Strings and Functions! within the C++ Programming forums, part of the General Programming Boards category; OHH, i get it... 1 for Jan will be 1 for Feb, Thank you. Noticed it when debugging. so i ...

  1. #16
    Registered User
    Join Date
    Sep 2008
    Posts
    12
    OHH, i get it... 1 for Jan will be 1 for Feb, Thank you. Noticed it when debugging. so i should put a "Null" for the first index(Wrong) I just did a months[1-month](wrong); ... Now I'm confused...

    Ok i got it.. was reverced had to use month[month-1]; which adjusts it to the previous index. +rep

    Listen, I appreciate all of your time and knowledge helping me with this.

    But it's not over, it's a on-going project. Hopefully I'll be smart and stay with the class but you never know.
    Last edited by DigitalBear; 09-25-2008 at 11:05 PM.

  2. #17
    Registered User
    Join Date
    Sep 2008
    Posts
    12
    odd request but can someone delete this topic? Or edit the code out of all the messages? It seems that when the teacher made up this project, he wanted to use it again. So having it here is a google search of answers to week 3. So please edit out the code or just delete the topic, thank you.

  3. #18
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    You can edit your own post bud. Just click edit. I see that you are aware of the editting capability since you did edit the post prior to this one. It would probably just be easier to delete the whole thread though.... Your code had been rehashed like 1000 times.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing strings to functions and modifying them
    By diddy02 in forum C Programming
    Replies: 6
    Last Post: 08-11-2008, 01:07 AM
  2. Functions and Strings Question
    By StrikeMech in forum C Programming
    Replies: 4
    Last Post: 07-18-2007, 06:07 AM
  3. passing strings from functions as the "return" part
    By fraktal in forum C Programming
    Replies: 8
    Last Post: 12-13-2005, 12:38 AM
  4. Creating Functions that use Format control Strings
    By tzuchan in forum C Programming
    Replies: 6
    Last Post: 03-29-2004, 11:50 AM
  5. Using Strings with Functions
    By DJH in forum C Programming
    Replies: 10
    Last Post: 10-19-2001, 04:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21