|
-
Jul 6th, 2001, 08:57 AM
#1
Thread Starter
Member
Is C++ free language or U have to buy it
Hi everyone I'm trying to learn C++. I've started learning Java but now i wanted to learn C++ at the same time.
This way I think it going to be faster in learning both language cos they are close to the same language. well that what i heard.
I don't know anything about C++ and I don't if it free or not.
I wanted to know the price, the newest version (Not Visual C++) Plz
Thanks you
-
Jul 6th, 2001, 12:06 PM
#2
Monday Morning Lunatic
C++ is free, totally and unequivocally It's just compilers you pay for if you really want to, but you don't need to. See the FAQ for some links, but there's DJGPP, Borland C++ 5.5, Cygwin, and some others. (PS: lots of things use the GNU C++ Compiler although they have different names)
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 6th, 2001, 12:15 PM
#3
Frenzied Member
If you are looking for i free C++ compiler i would recommend Turbo C++ 3.0, it is great. Otherwise if you have money or you live in some third world country get MS Visual C++ (absolutely the best).
-
Jul 6th, 2001, 12:18 PM
#4
Monday Morning Lunatic
Isn't TC++3 16-bit? I don't think we want to scare new learners away with near/far pointers...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 6th, 2001, 12:25 PM
#5
-
Jul 6th, 2001, 12:55 PM
#6
Monday Morning Lunatic
Can't you use DJGPP to make DOS apps or do they actually have to be 16-bit ones?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 6th, 2001, 12:58 PM
#7
Ummm, DJGPP compiles console apps...
-
Jul 6th, 2001, 12:59 PM
#8
Monday Morning Lunatic
Nope, it makes protected-mode DOS programs
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 6th, 2001, 01:23 PM
#9
Then why are they so big? I thought only console programs were >150kb (The program I made in DJGPP was a "hello world" program, and it was like 175kb)...
-
Jul 6th, 2001, 01:31 PM
#10
Monday Morning Lunatic
Did you remember to use the -s command line option?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 6th, 2001, 01:42 PM
#11
I was using RHIDE(the IDE) so I didn't really have a choice of any switches.... what does -s do?
-
Jul 6th, 2001, 01:44 PM
#12
Monday Morning Lunatic
It strips all the debugging symbols out which GPP uses by default. Also, the C++ RTL is a lot larger than the C one - try a "Hello World" in C and it's about 50K as opposed to about 150K in C++ (just tested now, using the -s option both times).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 9th, 2001, 09:30 PM
#13
Hyperactive Member
Originally posted by parksie
near/far pointers...
I did a tutorial a while ago and it introduced me to the basics of Pointers and how to use them, but it didn't mention this... what does it do and what's if for?
Thanks!
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 10th, 2001, 01:59 AM
#14
Addicted Member
I don't know anything about them; except i've heard they're quit nasty. i believe they had something too do with segments?
As far as i know you don't have too worry about them with win98.
-
Jul 10th, 2001, 02:41 AM
#15
Monday Morning Lunatic
Yep. A near pointer is to memory within the current segment, but a far pointer is a combination of segment ffset One of the nastiest things Intel ever did, but they seem to have got over it 
They're unnecessary in 32-bit programming of any kind.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 11th, 2001, 02:55 AM
#16
Stuck in the 80s
Are there any programs that aid in writing C++ files before compling?
-
Jul 11th, 2001, 05:04 AM
#17
Monday Morning Lunatic
Notepad 
Most compilers come with an IDE now, although the Borland free one doesn't. Denniswrenn made an IDE, you'd have to see him about it.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 11th, 2001, 08:14 AM
#18
http://www.planetsourcecode.com/xq/A...s/ShowCode.htm
Note: It does not compile the program in the large edit box, you have to type the path in the Open/Save box....
-
Jul 11th, 2001, 01:41 PM
#19
Dennis, in RHIDE, go to Options...Compiler Options and put -s in there. I did that and now my hello world program is 137kb in size (down by half!). Why the hell is it still so big though?
-
Jul 11th, 2001, 02:39 PM
#20
Stuck in the 80s
How do I get Borland Compiler to work?
-
Jul 11th, 2001, 03:02 PM
#21
Monday Morning Lunatic
Originally posted by wossname
Dennis, in RHIDE, go to Options...Compiler Options and put -s in there. I did that and now my hello world program is 137kb in size (down by half!). Why the hell is it still so big though?
I think it's because it also includes a DPMI server to enable your program to run 32-bit under DOS. Windows includes a DPMI, so native Windows programs are much smaller. Plus, it includes all the runtime library information it needs - it's larger, but totally independent.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 12th, 2001, 12:34 AM
#22
Dont bother trying to look for TC++ 3. It took me a few hours to find it, and the newer 32 bit compilers will work better for most people. Although i really like "graphics.h"... How odd does "256 colors on a monochrome screen" sound?
From what i can tell, i think they had to separate pointers into near and far because they could only transfer 16 bits per memory access (an int), so it would take 2 memory accesses to get an entire 32 bit address. Nowadays, we grab 32 bits per memory access (a DWORD). Sorta like the reason BOOLs are really one byte long, instead of a bit, because you cant access one bit at a time.
Z.
-
Jul 12th, 2001, 02:22 AM
#23
Monday Morning Lunatic
Although on an Intel architecture I believe that although they're a byte, they effectively take 4 bytes because all variables have to lie on a 4-byte boundary or something like that.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
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
|