|
-
Apr 25th, 2000, 04:47 AM
#1
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?
-
Apr 26th, 2000, 03:27 AM
#2
Frenzied Member
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.
-
Apr 26th, 2000, 07:05 AM
#3
Hyperactive Member
In C doesnt the size of an int depend on the OS you compile and run it for?
"People who think they know everything are a great annoyance to those of us who do."
-
Apr 26th, 2000, 08:20 AM
#4
Frenzied Member
THis being a VB site I think we're assuming windows.
-
Apr 27th, 2000, 02:32 AM
#5
It depends on the OS you run it on? Doesn't it depend on the number of bits the computer has?
-
Apr 27th, 2000, 06:53 AM
#6
Hyperactive Member
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.
"People who think they know everything are a great annoyance to those of us who do."
-
Apr 28th, 2000, 02:34 AM
#7
yup, that's right. I wonder how long they are in 64-bit windows.
-
Apr 28th, 2000, 07:13 AM
#8
Hyperactive Member
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?
"People who think they know everything are a great annoyance to those of us who do."
-
Apr 28th, 2000, 07:57 AM
#9
Windows 2000 is 64-bit. i'm guessing that the numbers would probably go into the decatillions dodecatillions.
-
May 18th, 2000, 09:37 AM
#10
Hyperactive Member
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... 
-
May 22nd, 2000, 01:08 AM
#11
Monday Morning Lunatic
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).
-
May 27th, 2000, 02:15 PM
#12
Addicted Member
There are two versions of Windows 2000
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.
-
May 29th, 2000, 12:18 AM
#13
Monday Morning Lunatic
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.
-
May 29th, 2000, 05:53 AM
#14
Is the Windows Milennium Edition going to be 64-bit as well?
-
May 29th, 2000, 07:55 PM
#15
Monday Morning Lunatic
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|