User Profile

Collapse

Profile Sidebar

Collapse
ag203
ag203
Last Activity: Dec 6 '06, 12:19 AM
Joined: Nov 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ag203
    started a topic flipping a line of text backwards.
    in C

    flipping a line of text backwards.

    we are working with functions andn I've declared the function at the top...but I'm not sure what to actually out in it.

    We have to flip the sentence backwards... like say
    I love cats.
    we need to output to the user:
    .stac evol I

    can anyone help me??
    See more | Go to post

  • ag203
    replied to HELP! storing values into an array
    in C
    Thank you...that helpes
    See more | Go to post

    Leave a comment:


  • ag203
    started a topic HELP! storing values into an array
    in C

    HELP! storing values into an array

    I need to store 25 different values (1, 5, 10, 25 etc. theres no pattern) in an array and then when the user picks a number q through 25 one of those values (randomly not the same one every time) needs to be chosen.

    I know that I need to Create a new array, initialize them all to a sentinel value, get a random number between 0 and 24, and move the first to that value. If it's not the sentinel, it's been set, get another random value(and...
    See more | Go to post

  • ag203
    replied to randomizing set values in an array
    in C
    how would I do this code wise?
    liek I understand the new array but I need help with the moving slots
    See more | Go to post

    Leave a comment:


  • ag203
    started a topic randomizing set values in an array
    in C

    randomizing set values in an array

    We're writing a program that similates the show deal or no deal. So we have 25 SET values in an array and every time we restart the program those values need to be randomly placed into those twenty-five slots...does anyone know how to do that?
    See more | Go to post
No activity results to display
Show More
Working...