Avatar of databoks
databoks
Flag 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?
C++C

Avatar of undefined
Last Comment
Hugh McCurdy

8/22/2022 - Mon
Leon Teale

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
Lara F

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Leon Teale

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
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.
kaufmed

If you ever want/need to write a device driver, then you will have to do it in C/C++.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Leon Teale

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.
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
Hugh McCurdy

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Hugh McCurdy

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.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
phoffric

Post deleted.
ASKER CERTIFIED SOLUTION
ambience

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
databoks

ASKER
Thank you everybody.
ambience

no, thank you for the B grade
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Hugh McCurdy

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).