It crashes.
Type: Posts; User: cheeves
It crashes.
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...
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.
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...
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...
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...
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...
can you explain this a little further?
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...
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.
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...
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...