What course was this? My husband (the engineer) saw lots of classmates fail courses while he was in college. Differential equations was one that many students too twice at his college. One course failure…well…depends on which course…does not necessarily doom you as an engineer.
Also, it sounds like your GPA suffered, and not JUST because of this one class. What were your other grades?