954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

What is C++ Good For?

Hi, I am a beginner in C++, I was just wondering what is it good for. This is probably a dumb question but I was searching on yahoo and google (What is C++ good for), and I did not find any real answers. What do people use it for? Is there a website which talks about uses for C++ that anyone knows of? What are the PRACTICAL APPLICATIONS of C++ and even C for that matter.

Thank You!

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

>What are the PRACTICAL APPLICATIONS of C++ and even C for that matter.
Literally anything. Pick a program and it was probably written in some combination of C and C++, or written with a language that was implemented using C or C++.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

But I mean if I got a job which required C++ knowledge, what would they ask me to program? Like I guess it could be anything but what are common practical applications of C++. Can you name a specific program that used C++/C programming.... that people may be using everyday.

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

>But I mean if I got a job which required C++ knowledge, what would they ask me to program?
You're not very quick, are you? If you get a job writing C++ code, and C++ can be used pretty much anywhere, then it stands to reason that they could ask you to write anything. It depends on what the job is. For example, I don't really expect anyone to ask me to write an operating system, because that's not in my job description.

>Can you name a specific program that used C++/C
>programming.... that people may be using everyday.
Windows, pick any version.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

> But I mean if I got a job which required C++ knowledge, what would they ask me to program?
Most jobs will read something like
"You're required to implement the user interface of the new burn-o-matic toaster using the C++ programming language".

In other words, look at what the company does, and that will give you an idea.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

Just to clarify, I do not have a job or a job offer anywhere, I am a basically beginner in C++. At the moment from what I know about C++ (very minimal), I started to wonder how C++ is used in the real world...

>Windows, pick any version.

So your telling me what is being displayed on my windows screen is the output of a combination a C++ program?

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 
You're not very quick, are you?

I see what you mean :DSo your telling me what is being displayed on my windows screen is the output of a C++ program? Most probably.

William Hemsworth
Posting Virtuoso
1,591 posts since Mar 2008
Reputation Points: 1,429
Solved Threads: 129
 

but howwwwwwwwwwwwwwwwwww :O

I may be slow according to you guys but just finding out that a little command prompt that I have been seeing for the last few days after running a simple program can become something such as a computer display in windows makes me think....HOW

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

You can make more than just console application using C++, you can use the Win32 API to create visual application. Try googling:
C++ Win32 API or
C++ MFC

William Hemsworth
Posting Virtuoso
1,591 posts since Mar 2008
Reputation Points: 1,429
Solved Threads: 129
 

Ok i did not see the above post, I will google now, perhaps that will answer the below question which I entered before reading the post by william. :)


By the way is it possible for an expert in C++ to write an extensive source using for example DEV C++ and to run the program to give an output displaying images, colours, and siginficant user interaction?


this is comming from somone who does not know how to program much more than something which would give an output such as

"Type a number"

and the program does some calculations or something and spits an answer:

"2"

And this all happens on a command prompt :)

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

Yes

William Hemsworth
Posting Virtuoso
1,591 posts since Mar 2008
Reputation Points: 1,429
Solved Threads: 129
 

>So your telling me what is being displayed on my windows
>screen is the output of a combination a C++ program?
I'm telling you that the Windows operating system is written in a combination of C and C++. Most of the programs you run are as well.

>but howwwwwwwwwwwwwwwwwww :O
Not to be rude or anything, but if you're as new to programming as it seems, you won't get it even if we told you. There's a lot of prerequisite knowledge that comes with understanding how non-trivial programs are written. As you learn more about programming and C++, you'll gradually come to an answer.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

if I were to rate the responses, william gave the best response. I little use of google about win32 has answered my question pretty well. I never was really asking tell me step by step so I can make my own Windows Vista2..but I think from what it seems I was asking for someone to point out there exists Win32!

Thanks!!!!!!!!!! I have just seen through a tutorial how to make a blank window, now I know there is much more to c++ than just the Black console...Thanks Again, :D

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

That tutorial might be to advanced for your level, so stick with console applications for a while before trying the Win32 API or you might get really confused :confused:

William Hemsworth
Posting Virtuoso
1,591 posts since Mar 2008
Reputation Points: 1,429
Solved Threads: 129
 
That tutorial might be to advanced for your level, so stick with console applications for a while before trying the Win32 API or you might get really confused :confused:

haha Yes I know I just started C++ but I was just wondering why should I learn it. I mean I was not getting much from just inputs of numbers etc. I didnt see the point. But now i see as I get better at the basics of C++ I will move onto for example win32 and will be able to make applications for windows. thats awesome!!!!!!!!

by the way im guessing win32 is just for windows applications. Are there others for like Linux or otherssss and im guessing there are even more things you can do with C++ then just making applications :)...

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

>I was asking for someone to point out there exists Win32!
Yep, that's immediately obvious from your original question of "What is C++ good for?". :icon_rolleyes: If I were to rate your question, it would be along with every other vague question that has no hope of getting an answer without a lot of dumb luck.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

oh okay, sorry, I will try to be more clear next time.

By the way I was asking previous your post, is there a different programming approach other than win32 (which seems specifically for windows applications), for other operating system applications? If so can anyone name a few.


from what I have searched Win32 and MFC are for windows
How do people make applications, for example, for Linux?

salman213
Light Poster
32 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

Im not the person to ask for that, I have never worked with linux before.

William Hemsworth
Posting Virtuoso
1,591 posts since Mar 2008
Reputation Points: 1,429
Solved Threads: 129
 

>So your telling me what is being displayed on my windows >screen is the output of a combination a C++ program? I'm telling you that the Windows operating system is written in a combination of C and C++. Most of the programs you run are as well.

>but howwwwwwwwwwwwwwwwwww :O Not to be rude or anything, but if you're as new to programming as it seems, you won't get it even if we told you. There's a lot of prerequisite knowledge that comes with understanding how non-trivial programs are written. As you learn more about programming and C++, you'll gradually come to an answer.

Even after 3 quarters of Java and researching c++ extensively as well as coding... I am at the point where I need to learn the UML and at the moment it seems like I'm mixing beans with pickles..

I totally understand what you mean by that bolded comment. When I started looking into UML's I realized that projects are just ideas from one person... they're thought out not just before the design but during the design and even after the design.

Its no wonder that new versions of programs come out fairly quickly.

Alex Edwards
Posting Shark
972 posts since Jun 2008
Reputation Points: 392
Solved Threads: 109
 

Wow, this is exactly what I expected from "the friendliest IT discussion community on the web." Seriously, you guys have never started something new?

It seems like you've at least got the knowledge to back up the attitude, so I guess that's good.


salman213, I'm pretty new to this stuff as well, so I'm no authority, but I know how it can seem starting out. The only language I know is Matlab, not something a programmer might like but something that's definitely useful as a researcher (like myself). I remember starting off and using it to perform simple algebraic manipulations. Fast forward a few years, and I've seen complete interactive GUIs designed with it.

The trick is getting the basics down and down well. As a musician, I always equated this part of learning to running your scales. The payoff might be a little vague at that point, but it's definitely there. Grab a book, find a few friends that know the language, you'll be all right.

And this place seems pretty good too, you seem to have thick enough skin.

This book was recommended to me, I haven't looked at it, but the guy seemed to know what he was talking about.

C++ Primer

Off the top of my head, I think the first few chapters should probably be read beginning to end. You seem to not have a lot of programming experience, so it should really help you.

Shaun32887
Light Poster
25 posts since Jun 2008
Reputation Points: 10
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You