Dev-C++ is just an IDE. It has nothing to do with your expected outputs. It uses the GNU C/C++ compiler which is not essentially for Windows programming but rather the best standard compiler set available which runs across a variety of platforms.
Ps. Also note that just cause your code sucks, or some other integral part of yours does, don't blame the compiler or the tool that helped you do so. JF-Debug-It.