In my experience as a teaching assistant for undergrad math courses, it's hard to outright fail a course unless:
1: You're lazy, haven't shown up for class, haven't attempted the homeworks, haven't talked to the professor
2: The subject material is completely over your head and unfortunately, you may need remedial work at a lower level. If you're too proud to do that, you'll probably struggle with math for your entire life. Even so, talking directly to the professor will probably result in some solutions that could raise your grade from an F to a D. Many professors are willing to save a student from completely failing if the student shows willingness to make an effort.
Even if you have the ability for future success (an F in college will not keep you from succeeding, but it may mean you have to work harder for initial opportunities), it would be a shame to go through life almost completely uneducated in math. IMO, it's a very unattractive trait when people say "I was absolutely horrible in math" as if they're proud of it.
It's not too late. Get a tutor (ask the secretary of the math department if you don't know how to find one, there is a usually a list of available upperclass and grad students). Talk to your professor- be explicit about what you're struggling with and ask him what you need to do to raise your grade. And don't be lazy. Don't give up on doing work for the class and don't start skipping class- the professor will factor in those things if you bring them to his attention, but will have no interest in helping you if you don't show that you're trying.
Good luck.