Link to home
Start Free TrialLog in
Avatar of databoks
databoksFlag for Denmark

asked on

Low-level programming

I would like to ask if it is worth learning c++/C. I have a basic understanding of it.

Most of my programs are written in C#/Java but I find C++ very effective and hardcore.

Is it waste of time to learn this language?
Avatar of Leon Teale
Leon Teale
Flag of United Kingdom of Great Britain and Northern Ireland image

no its a good language to learn as you said alot of programs use it.

however if it is a first language i do not advise jumping in at this as you might get overwhelmed and then even put off from learning another language. i advise for a beginner (if you are) you start with Java or php or maybe even perl tbh.
SOLUTION
Avatar of Lara F
Lara F
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of databoks

ASKER

Thanks everyone.

As I said I have 3-4 years experience with C#/Java on a high level.

Therefor I still find it somewhat hard to learn C++. Even though I get the basics.
If you ever want/need to write a device driver, then you will have to do it in C/C++.
then i guess its down to you if you want to continue at it in the hopes that it will all come together for you.

it will take a lot of work to get but once you've got it there are many benefits:

create programs
addition to your CV
troubleshoot fix other c++ code
create apps

Albeit C++ is good programming language which I would recommend to all developers to learn but I don't see much use of it going forward as processors are becoming faster and cheaper so performance is not the reason.
Avatar of phoffric
phoffric

Many time-critical or near real-time programs are written in C/C++, especially in embedded systems. It is as you are finding very hard to learn everything in C++. Here's a little tutorial http://www.cplusplus.com/doc/tutorial/ .

Since you know Java/C#, one area that you should examine are containers (like vectors, maps, etc.) ( http://www.cplusplus.com/reference/stl/ ) and algorithm functions that can be used with these containers ( http://www.cplusplus.com/reference/algorithm/  ). These links have a nice set of simple programs to illustrate many of the points. Some of these may be a bit harder to grasp: functional ( http://www.cplusplus.com/reference/functional/ ).

I recommend that you get Microsoft Visual Studio Express C++ since it provides an excellent debugging environment. Here is the download link:
      http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oh, a lot of embedded device programming is in C as well because it's possible to write compact code.  This is needed in an environment where resources are limited.
Post deleted.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you everybody.
no, thank you for the B grade
I think that ambience's point is that when a grade less than A is given, the typical thing to do is explain what was wrong with the answer(s).