Have you tried your school’s library? As others have said, sometimes school libraries have books on reserve for their classes. I don’t know how common this is at community colleges but it is always worth looking it. If there are textbooks on reserve in the library but not the books for your classes, try speaking to your professor about requesting that the book be put on reserve in the library. In my experience, sometimes professors don’t know this service exists or how to use it. If your library has this service at all (putting textbooks on reserve), professors may also be able to bring in their own copies, if the library does not have a copy. I’ve known many professors who have brought in their own books to be put on reserve so that students can use them.
If there are no books on reserve at your library (and your school’s library does not have the textbook available for checkout), try look at other university libraries in your area. Other universities may have the textbook in their library, and sometimes members in the community can still check out books from the university library. Sometimes you can request the book be sent to your local library (or to your CC library). Sometimes you can get a library card at the university library to check out books. If the book is not being used for a course at the university, you may be able to check it out for a normal period of time. If the book is being used for a course at the university, you may be able to borrow it for restricted periods of time (or perhaps you could make friends with a student that would check it out to you for a very limited time!). You can make copies in the library, or there may be scanners available for you to scan pages or you could take pictures of pages you need. My university also had services that would allow you to request books from other participating libraries–have you tried to see if this service is available and if the books are available? I worked at my university’s library, and they had many, many resources that a lot of students never even knew existed. I don’t know what is commonly available at the CC level (and of course, different schools have different resources available), but it’s always good to make sure you have checked everything.
Have you tried selling back your old textbooks? Sometimes, you can make some of your money back by reselling your textbooks (although it’s often best to resell them as soon as you can before a new edition is published).
When I was a TA, I also had copies of the textbook and solutions manual, and I would let students use the books during my office hours. Some would use the solutions manual during office hours instead of purchasing it, some would take a picture of the problems at the end of the chapter, some would use it to look up something that they didn’t understand really quickly. Perhaps your professor or TA would be willing to let you use the book to compare it to an old edition to see what major changes have been made. If it’s just a couple of new case examples, perhaps, your professor would be willing to let you take a picture or read it during their office hours. If you explain your situation, they may be willing to help you out (within reason, of course). It’s not ideal, but you may be able to work something out.
Do you know anyone in your classes? Could the two of you split the cost of the book? Could you borrow a classmate’s text to copy or scan or take pictures of (perhaps, chipping in a small amount for their help)? Could you perhaps for a study group so you can meet other people in your classes?
Alternatively, do you have a friend or family member that you could borrow money from? It’s always hard to borrow money from people you know and it’s difficult to ask for, but if you’ve exhausted all of your options and still can’t get the books that you absolutely need for your classes, then sometimes you just have to ask for help. Work out how long it will take you to save up enough money for the books, and let them know exactly when you’ll be able to pay them back. When I was in college, I lent money to a friend before so they could make rent when they were a jam. It was a little awkward, but I was happy to do it. And they paid me back when they could.
Also, of course, make sure you absolutely need the book before purchasing it.