User Profile

Collapse

Profile Sidebar

Collapse
rangerSkip
rangerSkip
Last Activity: Dec 19 '11, 07:21 AM
Joined: Dec 10 '11
Location: Tigard, Oregon, United States
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rangerSkip
    replied to add subtract large numbers C++
    in C
    alas, it is a homework assignment. However, it is extra credit.

    I'm only allowed to use iostream, strings and cmath libraries.
    See more | Go to post
    Last edited by Niheel; Dec 19 '11, 09:19 AM.

    Leave a comment:


  • rangerSkip
    started a topic add subtract large numbers C++
    in C

    add subtract large numbers C++

    I'm looking to find the sums and differences of large numbers inputed by the user. all numbers must by positive and whole and the first number must be larger than the second. I'm having a couple problems:

    1) I'm currently using arrays and saving the input into a string. I think that, when copying the data from the string to the array, I need to have the numbers at the very end of the array. I think I found a good way but its not working...
    See more | Go to post
    Last edited by rangerSkip; Dec 17 '11, 01:11 AM. Reason: made some "progress"

  • rangerSkip
    replied to Searching parallel arrays
    in C
    Thank you so much! I was using that operation but I had it backwards.
    See more | Go to post

    Leave a comment:


  • rangerSkip
    started a topic Searching parallel arrays
    in C

    Searching parallel arrays

    My program is designed to take input from a file containing a list of titles and authors. The file looks like so:

    title
    associated author
    next title
    associated author
    etc.

    The problem I'm having is with my showBooksByTitl e and showBooksByAuth or functions, I guess what I'm asking is how does one compare parts of strings so that if a user searched for Mal (and there was author D.S. Malik and...
    See more | Go to post
    Last edited by rangerSkip; Dec 10 '11, 09:30 PM. Reason: I've added the library.txt file if you were confused about my Malik example.
No activity results to display
Show More
Working...