Back in high school, I learned to program while riding the bus to and from work. I'd have a copy of K&R on one leg and my laptop on the other.
Once I compiled and ran ./a.out and saw that wonderful output... Hello, world!, I was hooked.
./a.out
Hello, world!