Comment Continuous improvement (Score 1) 360
As is often the case, we need more information. Several here have suggested acquiring facility with IDEs, and I agree wholeheartedly with that. Being an Eclipse wizard will improve your productivity immensely. There are a variety of tutorials that will help you with that, but it may not get you a paycheck tomorrow. You need to do it, though, if you don't want to end up right back here.
One problem you may be facing is that you are unaware of many of the new trends (where "new" may be 30 years or so) in programming languages. Computer Science students are typically required to program in a language like Scheme, Miranda, or Haskell not because anyone expects them to encounter them in a production environment, but because it allows them to design code for optimization and parallelization and other useful, modern features of computing. If you don't come up to speed with these kind of techniques, you will find yourself relegated to an ever shrinking niche of the industry, and a poorly paid one at that. This may be part of why you are having some trouble with your online course. I'm not recommending that you run out and learn those three languages, but maybe try to find a course of study that is a little more basic, even if some of it is old hat.
Also, there is no such thing as needing a paycheck from programming. You may need a paycheck, but as long it is ethicl and legal, it doesn't matter if it comes from programming or not. There are all kinds of oddball things you can do for a paycheck - I retired in 2007, and have been bouncing around among them. Probably the oddest was as Pace Instructor, teaching math on board navy ships. Not much money, and not for everyone, but I had a blast and it's just an example of what's out there.