Bloodshed runs on linux, it uses the GNU Compiler Collection, among others, if memory serves...

While the cin >> x; method is indeed a viable cross-platform solution, and though API calls do tend to slow down program execution, seeing as this snippet is located at the very end of Main, it shouldn't make a difference. Either way; you choose, provided you're running Winbloze.

I, personally, didn't know about this system call (I write most of my C-style code in C#), and thought it was interesting enough for Dia to have shared it with the rest of us.

SirDice:
I...never...would...have...thought...of...that... (Fushi kicks himself repeatedly) I could've saved month's worth of time spent "cd" ing into and out of folders by now had someone told me that :P