Click to See Complete Forum and Search --> : Which C++ do you use?
Which version and which compiler version of C++ do you guys use? I use Visual C++ 6.0. I also have a question: In VC++, I read that long and int are basically the same. Is the same with all of the other C++ compilers?
Sam Finch
Apr 26th, 2000, 03:27 AM
I use VC++ too, I hate the IDE and can't get anything to work, it's probably the easyest on if you wan't to get front ends to work and I don't have anotherone though.
In all C++ compilers int and long are the same thing, if you want a VB style Integer, (ie "a 2byte signed integer using the 2s complement little endian system") use short.
noone
Apr 26th, 2000, 07:05 AM
In C doesnt the size of an int depend on the OS you compile and run it for?
Sam Finch
Apr 26th, 2000, 08:20 AM
THis being a VB site I think we're assuming windows.
It depends on the OS you run it on? Doesn't it depend on the number of bits the computer has?
noone
Apr 27th, 2000, 06:53 AM
I believe in 32 bit Operating Systems (like Windoze) an int is 32 bits, in a 16 bit (DOS?) it's 16 bits. Is this right? My experience with C is pretty limited.
yup, that's right. I wonder how long they are in 64-bit windows.
noone
Apr 28th, 2000, 07:13 AM
Thats a good question, will we need afforadble 64 bit processors first or is that unimportant.
On a lighter note, does anyone else have a C book that reccomends not to use more then 64 KB of memory in your program? :)
Windows 2000 is 64-bit. i'm guessing that the numbers would probably go into the decatillions dodecatillions.
MrShickadance
May 18th, 2000, 09:37 AM
win2000 is 64-bit? That doesn't make any sense. How can a 64-bit OS run on a 32-bit system?
That would be like saying I'm running 32bit win98 on a 16bit 386. (addressing mis-match) ;)
Anyways, I use the sweet&free 32bit GNU DOS compiler DJGPP. and MS VC++ 5.
As far a I know, long and int are dependant on the compiler. it use to be the case where longs where 32-bit and int's where 16-bit.
you can still use 16bit with short int.
anyways... :)
parksie
May 22nd, 2000, 01:08 AM
nope, win2000 is still 32-bit, though more so than Win98,
which still has large proportions of 16-bit code (ever
tried to get multimedia timers to work properly, they're
still 16-bit...).
win64 is in the works, and will probably run on an Itanium
(once they've properly surfaced).
G.Kumaraguru
May 27th, 2000, 02:15 PM
Guys, There are actually two versions of Windows 2000,
The released version is 32 bit. During a recent Intel
Itanium Expo , they demonstrated a Itanium Machine Running
Windows 2000 64-bit . Even Linux 64-bit version is ready
as far as i know.
parksie
May 29th, 2000, 12:18 AM
win64'll be interesting once it's finally released to the public, and I expect Linux will make full use of an extra 32 bits.
Is the Windows Milennium Edition going to be 64-bit as well?
parksie
May 29th, 2000, 07:55 PM
doubt it, because isn't ME based on the 9x core? they may make a 64-bit version, but since ME is intended for the consumer market they probably won't. anyway, use 2000 rather than ME if you want decent support in the future.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.