Search:

Type: Posts; User: cheeves

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,717

    It crashes.

    It crashes.
  2. Replies
    6
    Views
    3,717

    Error when running program

    Below is the code for my program. It does everything I want it to, but then at the end of running it an error appears. I can't figure out why it gives an error after doing everything I told it to...
  3. Replies
    4
    Views
    1,170

    I know how to read text. The problem is I don't...

    I know how to read text. The problem is I don't know why when I use gets() to read in the string, it wont allow the user to enter any of the book titles except the first one.
  4. Replies
    4
    Views
    1,170

    reading a string

    I have this program to store info for 3 libraries and then to search for a book by author for the libraries.

    My problem is with reading in the data for the libraries. It works fine for the code...
  5. Thread: Reversion

    by cheeves
    Replies
    5
    Views
    1,288

    Reversion

    I'm trying to reverse words in a string then go on to compare some things. I'm stuck on reversing the words. If I read in a string using gets(string); then once I have my string array how would I...
  6. Replies
    7
    Views
    2,466

    Hell, call me slow, but I just can't figure this...

    Hell, call me slow, but I just can't figure this out. I understand to make the array to hold the integers, and then make a pointer array to point to the integer array. As it is now, I have it sort...
  7. Replies
    7
    Views
    2,466

    There should be a way to do this without having...

    There should be a way to do this without having to use the standard library or dynamic allocation. What I need to do is change what element the pointers are pointing to instead of changing the...
  8. Replies
    7
    Views
    2,466

    can you explain this a little further?

    can you explain this a little further?
  9. Replies
    7
    Views
    2,466

    Pointer address

    I built a program that sorts a list of numbers. It sorts the numbers correctly. However, I want the address of the numbers to stay the same. For example, I want this input/output.

    Enter the...
  10. Replies
    4
    Views
    999

    No, I have different log-ons for different...

    No, I have different log-ons for different locations. That's my code, not an instructors, and its my bug I'm trying to fix.
  11. Replies
    4
    Views
    999

    Help with a problem Array

    I have 2 constant integer arrays. I am computing their union, difference, and intersection. I cannot figure out why it is outputting 1 in the intersection and not in the difference. 1 Should be in...
  12. Replies
    1
    Views
    1,134

    Searching an array for another array

    I am writing this program to read 2 strings and to check if the 1st string is a sub-string of the 2nd. I need help writing my function that searches string 2 for string 1 and returns the element...
Results 1 to 12 of 12