I applaud your goal of working with your text editor instead of an IDE. It's my belief it will make you a better programmer- once you've got the fundamentals solidly down, you should move back to the IDE or only move back to the IDE when time constraints and many lines of code are required. They help to reduce production times.
Now that your problem is sufficiently solved, take the time to mark your thread as "Solved" using the Thread Tools at the top.
Best of luck.
