The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > The ProgrammersTalk > General Talk


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Reply
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 07-16-2007, 11:27 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Icon8 C++ in the Industry ???

Hey, I realized that many industries are looking for C++ or Java programmers. But mainly though, C++, do you think it's easy transition from Java to C++ ?? I heard that C++ is much more difficult than Java, where you have to care about Memory location, etc... But I also heard that once we know Java, it's also easy to learn another language. So, what do you guys think? I really need to get this going and learning as many languages as possible!!! But currently, I'm learning ASP.NET with C# (which people say the evolution of C++ lol...)

Do you guys have any recommendation to what book to use? I've seen many book that's purposely made for transitional programmers from Java to C++, but I just don't remember them. However, I personally like O'Reilly's book

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!

Last edited by HelloWorld : 07-16-2007 at 11:30 PM.
Reply With Quote
  #2 (permalink)  
Old 07-17-2007, 03:42 AM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 616
iTrader: (0)
Lee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enough
I would recommend accelerated C++ to get you going, its a good book and explains things well, i will talk to you on msn later and give you some extra things
Reply With Quote
The Following User Says Thank You to Lee For This Useful Post:
HelloWorld (07-17-2007)
  #3 (permalink)  
Old 07-17-2007, 07:22 AM
rpgfan3233 rpgfan3233 is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jul 2007
Posts: 118
iTrader: (0)
rpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura about
Transitioning from Java to C++ is a bit difficult for some people. The one thing that I wish C++ had that Java has is the toString() method. Though it isn't very hard to convert from an integer to a std::string in C++, it would be nice to have. Also, while (memory) pointers are useful in C++, they can be a bit of a pain too. Bad pointer arithmetic is easily one of the hardest bugs to find without a debugger to track what is stored in different variables.

To make a long story short, the languages are not really comparable. They make use of different technologies and are completely different languages. You can learn both and after you do, that is when you need to be your own judge.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
The Following User Says Thank You to rpgfan3233 For This Useful Post:
HelloWorld (07-17-2007)
  #4 (permalink)  
Old 07-17-2007, 08:16 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
rpgfan3233, do you recommended to learn C++ through online tutorial or books? Sometimes it's really useful to just use online tutorial, but it's a little bit confusing to be since it's all broken apart. It's good though when I got the project in mind

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #5 (permalink)  
Old 07-17-2007, 08:32 AM
rpgfan3233 rpgfan3233 is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jul 2007
Posts: 118
iTrader: (0)
rpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura about
Either one works since the language isn't hard to learn. It is learning the features of the language as well as how to use them to your advantage that is difficult.

__________________
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off."
-- Bjarne Stroustrup, creator of what is now known as C++
For more quotes by Bjarne Stroustrup, check out http://www.research.att.com/~bs/bs_faq.html#really-say-that.
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #6 (permalink)  
Old 07-17-2007, 08:40 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Quote:
Originally Posted by rpgfan3233 View Post
Either one works since the language isn't hard to learn. It is learning the features of the language as well as how to use them to your advantage that is difficult.
what do you mean with the features of the language?

Edit: I'm also wondering, what's the advantages of C++ than other languages? I haven't things in mind that there's an application that can be created with C++ and not with Java. But for some reason, these companies are looking to those who also understand C++ (or C#) but I think C++ is the core of everything...

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!

Last edited by HelloWorld : 07-17-2007 at 08:44 AM.
Reply With Quote
  #7 (permalink)  
Old 07-17-2007, 09:37 AM
rpgfan3233 rpgfan3233 is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jul 2007
Posts: 118
iTrader: (0)
rpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura about
Quote:
Originally Posted by HelloWorld View Post
what do you mean with the features of the language?

Edit: I'm also wondering, what's the advantages of C++ than other languages? I haven't things in mind that there's an application that can be created with C++ and not with Java. But for some reason, these companies are looking to those who also understand C++ (or C#) but I think C++ is the core of everything...
When I say features, I'm referring to the Standard Template Library mainly. It is made up of several headers, but it is quite useful. Then there is the strings library, which isn't exactly a part of the STL, but it does serve the same kind of needs: shorter development time and efficiency. The facilities that both provide are wonderful and convenient.

Also, the main advantage of C++ is a balance between a fairly rapid development process and run time. With Java, for example, the Java Virtual Machine takes up memory itself. Then you have the program that you created taking up memory as well, not to mention the processor work for them both. Java is a wonderful language, but those few things can take time that could have been used when compiled to native code rather than Java bytecode. C# as well as other .NET languages, need the .NET framework to even run. As a result, hidden inside your compiled executable is code that looks for the .NET framework before starting the actual program. Not a bad thing, right? Well, consider the fact that because it needs the .NET framework, the program's function calls are really just the top layer of the program. The layer underneath is the .NET framework. In order for them to work together, they have to be able to communicate. Then the .NET framework has to talk to the operating system. That's 3 layers, just like Java (program => JVM => OS). C++ (and C) only require 2 layers - program => OS. I'm simplifying things a bit, of course, as there are many other layers like shared/dynamic libraries (.dll in Windows, .so in *nix environments) unless you compile with only static libraries (.lib for Visual Studio, .a for archived libraries - *nix environments, used with gcc on Windows), in which case the necessary code is just stored in your executable itself, if I recall correctly.

C# is rather popular for some reason, though I'm not sure why. Personally, I think it takes a LOT from Java and then rips it to shreds while adding C and C++ things. However, that's just my opinion. Anyway, that's off-topic, so I don't think it should be discussed here.

__________________
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off."
-- Bjarne Stroustrup, creator of what is now known as C++
For more quotes by Bjarne Stroustrup, check out http://www.research.att.com/~bs/bs_faq.html#really-say-that.
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
The Following User Says Thank You to rpgfan3233 For This Useful Post:
HelloWorld (07-17-2007)
  #8 (permalink)  
Old 07-17-2007, 12:58 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Thanx a lot rpgfan3233
That was really thorough explanation. So .NET Framework is just actually the same thing as Java Virtual Machine (I never knew this lol..) Anyways, so current programming langauges that writes directly to the operating system is either C or C++ right?

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #9 (permalink)  
Old 07-17-2007, 01:55 PM
rpgfan3233 rpgfan3233 is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jul 2007
Posts: 118
iTrader: (0)
rpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura aboutrpgfan3233 has a spectacular aura about
Quote:
Originally Posted by HelloWorld View Post
Thanx a lot rpgfan3233
That was really thorough explanation. So .NET Framework is just actually the same thing as Java Virtual Machine (I never knew this lol..) Anyways, so current programming langauges that writes directly to the operating system is either C or C++ right?
Not so much writing to the operating system directly as communicating with the operating system directly. Currently, C, C++, some forms of BASIC, Objective-C, D, and Assembly are some that come to mind.

As far as the .NET Framework being the same as the JVM, the idea is similar. That's all though.

The idea of a JVM is to provide a protection from harming your computer when you perform "unsafe" operations.
The idea of the .NET Framework is to provide a common API for all of the .NET languages. However, because converting from the .NET Framework code to the actual code already existing as a part of the OS is a nearly insane thought, a bit of extra code is inserted into your compiled application to search for the appropriate version of the .NET Framework. This way, it eliminates the need for a ".NET Virtual Machine", and you can know that your application doesn't lose much time.

__________________
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off."
-- Bjarne Stroustrup, creator of what is now known as C++
For more quotes by Bjarne Stroustrup, check out http://www.research.att.com/~bs/bs_faq.html#really-say-that.
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
The Following User Says Thank You to rpgfan3233 For This Useful Post:
HelloWorld (07-17-2007)
  #10 (permalink)  
Old 07-17-2007, 11:07 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,111
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Quote:
Currently, C, C++, some forms of BASIC
I also read it somewhere that Visual Basic is also some form of BASIC languages, is that true? Then is Visual Basic and C++ the same in term of Run time speed, and the layer that you're talking about?

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:23 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50