They are similar, but definitely not the same.
Java implements "Object Oriented Programming" in a very clean way.
C++ has a lot of idiosyncrasies in order to blend compatibility with C, a very low
level language with access to the bits and pointers directly into memory, with Object
Oriented Programming "slapped on" top. When you program in C++ it is very easy to mix
the new OO features with the old C features and get into lots of trouble.
I don't recommend learning C++ as your first programming language.
I would recommend learning Java first.
Then you could later move to C++ and be a very "clean" C++ programmer because you
wouldn't have all the bad habits from the "low level" programming getting in the way.
At 10:43 AM 12/20/00 -0500, Robert Everland wrote:
>Well I figured if I learned C++ which is harder Java would be a snap since
>they are pretty much the same language just a little more dumbed down.
>
>Robert Everland III
>Web Developer
>Dixon Ticonderoga
>
>
>-----Original Message-----
>From: Alex [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, December 20, 2000 9:40 AM
>To: CF-Talk
>Subject: Re: [RE: WAY OT: C++]
>
>
>learn java instead. its easier and "hotter". also if you already know how to
>program then learning a new language isn't that hard.
>also there is a huge difference between C and C++ (most unix apps are
>written
>in C).
>
>"JustinMacCarthy" <[EMAIL PROTECTED]> wrote:
>The best place to start is a simple console Hello World example!!
>
>The complicating factor in C/C++ is that there are a lot of different
>"Toolkits" to learn for different Platforms
>(MFC-Windows,Gtk-Gnome,ncurses;ptreads-Unix,QT-Kde etc...) mostly for GUI
>development, so it depends on what you want to do..
>
>
>I think the best book on C++ is the OReilly Book C++
>http://www.oreilly.com/catalog/cplus/ it assumes no programming experience,
>and you don't need to get a "C" book first...
>
>You can get free C compilers for windows here
>http://www.thefreecountry.com/developercity/cc.html
>
>*nix has a cc & gcc etc. as standard.
>
>Also check out
>http://cplus.about.com
>
>and of course min's site for CFX examples :-) (www.intrafoundation.com)
>
>
>It's a bit of a jump from CF , but after learning C++ you should be able to
>master any language , Java CF Perl php, and JavaScript will all "make more
>sense"
>
>
>Justin MacCarthy
>
>
>>-----Original Message-----
>>From: lsellers [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, December 20, 2000 6:52 AM
>>To: CF-Talk
>>Subject: RE: WAY OT: C++
>>
>>
>>
>>> Well I have been messing with cf for a year now and figure
>>> it's time to
>>> seriously broaden my horizon and try to learn the granddaddy of all
>>> languages (excluding B and all those ones which aren't highly used). Does
>>> anyone know of a good website that has some good learning
>>examples. Thanks
>>> for any help.
>>
>>I assume this is for supporting web apps and I assume you've only used CF
>>before? Any formal programming classes or other compiled languages? It's
>>going to be a bit rough if so.
>>
>>I'd suggest skipping COM objects or full fledge amazon-like cgi/isapi apps.
>>:)
>>
>>CFX tags are a fairly easy place to start... after you play around with
>>making a few command-line apps.
>>
>>As far as book and on-line tutorials. Depends what kind of previous
>>experience you have. Thinking in C++ was one I read a while back. Fairly
>>good.
>>
>>--min
>>
>>
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists