Prev: memcpy
Next: Why does this crash?
From: Piranha on 24 Mar 2010 12:13 So far I´ve written only a few mini applications for Windows in 32bit. I´ve used Code::Blocks/MinGW/GCC++ in WindowsXP and that´s all fine. Now I´m getting Windows7 64bit and that might mean some long lessons for me to learn about the differences. For one I would like to write 64bit applications now, for two I would still want to write 32bit applications, but I´m not even sure which compiler would serve my needs. For all I know, there isn´t much difference, beside sizeof(int), meaning as long as my mini applications don´t use any sophisticated things, the same code should work fine in 32bit and in 64bit, but there has to be some difference, at least in the headers, because when a user opens the .exe something has to tell the OS what kind of program this is. I´ve seen VC++ has a 64bit version, but I don´t like VC, because my limited knowledge has not reached OOP yet, I don´t understand the concept, also I believe a mini application having less than 500 lines of code and just one single function doesn´t require OOP. I´ve seen there is a 64bit version of MinGW, but from the comments I ´ve been reading it seems to be more experimental than reliable, I couldn´t even find a one file download, like a setup.exe, just a ton of pieces where it´s left to the user to put them together, nothing a beginner like me could use. So for my very first step into it, the question is: Which combination of IDE and compiler is as easy to use as Code::Blocks/MinGW and can compile 32bit as wells as 64bit and where could I find a tutorial or something explaining the differences?
From: Paul Richards on 24 Mar 2010 21:58 Piranha wrote: > So far I�ve written only a few mini applications for Windows in 32bit. > I�ve used Code::Blocks/MinGW/GCC++ in WindowsXP and that�s all fine. > > Now I�m getting Windows7 64bit and that might mean some long lessons > for me to learn about the differences. > For one I would like to write 64bit applications now, for two I would > still want to write 32bit applications, but I�m not even sure which > compiler would serve my needs. > > For all I know, there isn�t much difference, beside sizeof(int), > meaning as long as my mini applications don�t use any sophisticated > things, the same code should work fine in 32bit and in 64bit, but > there has to be some difference, at least in the headers, because when > a user opens the .exe something has to tell the OS what kind of > program this is. > > I�ve seen VC++ has a 64bit version, but I don�t like VC, because my > limited knowledge has not reached OOP yet, I don�t understand the > concept, also I believe a mini application having less than 500 lines > of code and just one single function doesn�t require OOP. > > I�ve seen there is a 64bit version of MinGW, but from the comments I > �ve been reading it seems to be more experimental than reliable, I > couldn�t even find a one file download, like a setup.exe, just a ton > of pieces where it�s left to the user to put them together, nothing a > beginner like me could use. > > So for my very first step into it, the question is: > Which combination of IDE and compiler is as easy to use as > Code::Blocks/MinGW and can compile 32bit as wells as 64bit and where > could I find a tutorial or something explaining the differences? Have alook at www.horizonchess.com/wpg64 There you will find a complete packaged 64 bit environment which includes, amongst other things, a pre-configured code::blocks, minGW64 and msys environment. Just download and extract msys to your c:\ folder. -- Paul Melbourne, Australia
|
Pages: 1 Prev: memcpy Next: Why does this crash? |