.bin is just an arbitrary extension.
You don't compile to .bin, you compile to an executable binary (.o for Linux, .exe for Windows).
You'll need a C++ compiler. For Linux, you'll need G++ compiler. If you want an IDE, instead of doing everything through Terminal, then get Code::Blocks.
For Windows, same thing - you'll need a compiler, but there isn't a straight G++ compiler. There are adaptations of it for Windows, though. Best way would be to use an IDE for Windows, such as Visual Studio Express (C++ version), or Code::Blocks.
What is it that you're wanting to compile from source?