@hannxxx,
Like Punkey said, you could take online classes or perhaps community college. There are ways to assure that your education isn't delayed, despite what your college has decided should happen in this instance.
Whatever reason he broke up with you - does it really, truly matter right now?
Your focus should be your baby and your future. And, BTW, just because you're broken up does not mean that your boyfriend is off the hook financially. Babies still need food, medicine and diapers, regardless of whether their parents are together romantically.