You need to show us the code, we can not offer any specific recommendations, without knowing more details about what you are doing. You mentioned one of the differences between MS Visual C ++ and Dev C ++ (and his cousins ββalso use GCC under covers). For my suggestions, see the last two paragraphs.
++ , , - , , Microsoft, Dev ++. , , Dev ++, MFC Win32 API.
Dev ++ Microsoft, . Visual ++ ( ), , , , , MS.
, , "--", Visual ++ Express. Microsoft IDE , , , - , , , : -).
VS2010 Professional , MS , , , , , :-)
, Dev ++, Code:: Blocks, Eclipse CDT , , . , Microsoft, , . Eclipse , Java , , , , Code:: Blocks for ++. , .
, " ", , - , .