It's very useful. Just learning how to program with windows and stuff. I had a school project which consisted in creating a little RPG game. It was pretty fun :)
Simiarly, I have learned a little bit C++ and Java about a year before. But not for a school project but to do cheat in online games :p