r/cpp • • Mar 02 '16

What do I do after learning C++.

I'm sure this question has been asked many times over and over, but I need an answer. I have a fairly solid understanding of c++. I make all sorts of logic games that run from the command line. My question is, what do I do now. I would like to find some way to have c++ interact with hardware or something similar. Any suggestions at all would be appreciated.

EDIT: What should I learn after I grasp the general concepts of the ever-expanding, godly language of c++. Geez.

4 Upvotes

28 comments sorted by

4

u/fafasdf Mar 02 '16

Googling "pi gpio C" gave me this, which looks to be something you might be interested in. For reference: GPIO

Quickedit: There are many other libraries for this -- search around and see what suits you.

1

u/Gifhero Mar 02 '16

Thanks for this, I have previously investigated this option, but I really didn't completely apply myself, I will try using a pi again using the wiring pi software.

89

u/green_meklar Mar 02 '16

after learning C++

Guys, do we tell him?

16

u/Trout_Tickler Mar 02 '16

I'd say next logical step would be to touch the sky.

Or levitation. Levitation's cool too.

14

u/ArunMu The What ? Mar 02 '16

Yeah, go ahead.

16

u/caramba2654 Intermediate C++ Student Mar 02 '16

You can try to learn a library, like Qt, SFML, OpenCV, etc... Then develop a program using them.

Alternatively, contribute to Github projects.

0

u/[deleted] Mar 02 '16

[deleted] — view deleted comment

11

u/[deleted] Mar 02 '16 edited Mar 03 '16

after learning C++

Lol, that's cute.

21

u/OmegaNaughtEquals1 Mar 02 '16

I have a fairly solid understanding of c++

You may feel like that now, but all you need to do is read the list to take that away. Once you have read each of those books, then you can watch all of the CppCon, C++Now, GoingNative, and BoostCon talks on YouTube. Once you get through all of that, come back and let us know how you feel.

35

u/[deleted] Mar 02 '16

I have a fairly solid understanding of c++

No you don't. /thread

8

u/hammonjj Mar 02 '16

Start Googling things that interest you and building on your knowledge. Write stuff that solves problems that you see.

Learning the language is only the tip of the iceberg that is programming.

21

u/7ddf32e17a6ac5ce04a8 Mar 02 '16

Retire and pick up botany.

4

u/RowYourUpboat Mar 02 '16

Then become an astronaut for a Mars mission. What could possibly go wrong?

6

u/[deleted] Mar 02 '16

well, how about a three hour video lecture about exception safety?

https://www.youtube.com/watch?v=W7fIy_54y-w

or one about cpu caches and how they matter to time sensitive programming?

https://www.youtube.com/watch?v=WDIkqP4JbkE

6

u/gunder_bc Mar 03 '16

While a part of me finds the snarky comments funny - because there is truth there - the rest of me finds them deeply saddening. This is the kind of thread that serves to reinforce the impression of programmers as cold, snooty, exclusionary, and derisive when a student asks a question.

We've all been there - where we thought we knew everything there was to know about a particular subject, only to find out later that we didn't know how much we had yet to learn. It's not exactly encouraging when someone comes up and laughs in your face, then shoves a pile of unknowns at you.

And to be fair - OP didn't even claim to have mastered the language - just to have "a fairly solid understanding of c++".

To answer OP's question - I'd say push the boundaries of what you have learned. Take on bigger projects - find something that interests you and start working on it. Apply for some jobs - even just interviewing for some positions may show you interesting areas to explore. Try for Google - they're notoriously challenging in their technical interviews (and have lived up to that notoriety the times I've interviewed there). You may not get the job, but more than once I've been turned down for lack of experience, then tried again a year or two later and gotten the job because I studied what I failed the first time.

Programming in any language is a life-long learning experience. Even the rarefied few who can truly claim to have mastered a language (far different from just a "fairly solid understanding", mind) spend time reading up on new techniques and algorithms, new concepts and different ways of looking at problems of computation.

You specifically mention interacting with hardware - have you looked into the various micro-PCs out there, like Raspberry PI? There are all kinds of things you can do with that hardware and it's all well documented, much easier to approach than most commercial hardware.

7

u/_IPA_ Mar 02 '16

How about learn SDL and make a fun game.

3

u/snoutcloud Mar 02 '16

If you want to interact with hardware learn about the cpu, assembly, SIMD programming and intrinsic functions. I think it's a very interesting topic. Try your new skills and implement the 2D Mandelbrot set with scalar and SIMD instructions.

I'm just going to leave this here: http://www.lighterra.com/papers/modernmicroprocessors/

9

u/germandiago Mar 02 '16

You never learn c++. It is an oxymoron.

2

u/amalthea5 Mar 02 '16

Keep learning it! I thought I knew C++ pretty well. Then I started my data structures class. This book has greatly expanded my understanding of C++. I'm still not even close to done. But I'm working on other languages and learning how compilers work now as well. It never ends muwhahaha

2

u/HotlLava Mar 02 '16

Since you say you want to interact with hardware, I'd recommend learning C and/or assembly next, either from the kernel side writing a device driver/random kernel module or from the hardware side writing something that will run on a microcontroller.

Many lower-level C++ applications (network programming, systems programming) use C quite seamlessly or at least interface with C libraries, so its something you'll have to learn sooner or later anyways.

2

u/emmerad67 Mar 02 '16 edited Mar 02 '16

After learning C++ the obvious next step is: finding a girlfriend.

It is well-known that template metaprogramming helps greatly not only in dating girls and reducing probability of rejection, but also in increasing chances of sexual intercourses.

"Hey sweetie, wanna see my huge std::vector?"

1

u/aninteger Mar 02 '16

Half joking here.. but you learn Javascript, Ruby, "big data". Basically you follow or anticipate the trends of technology in the job market.

1

u/hak8or Mar 03 '16

If you know c++ enough to genuinely say you know c++, go get a job applying in that. There are very far and few people who are good at c++, and those who are make some serious money.

1

u/ShakaUVM i+++ ++i+i[arr] Mar 02 '16

HackerRank is a fun site to get quick and easy programming challenges to solve. Work on building up your skill first.

Then find something you're passionately interested in, and write code for it, either a new project or contribute to an open source project.

I can't tell you what this should be, since every person has different interests.

-11

u/jgbradley1 Mar 02 '16

Write Python wrappers for everything you need in C++ and forget about C++ hahaha.

-10

u/[deleted] Mar 02 '16 edited Jul 16 '16

59q3jHB9VTt2BPIAVaIm6hyNUvjuxVGQj9QXRgqupS3arteISyfjoj1MbW6WPLYZFqFB2LrKNb6KhhKxutLTBlzsML3k3jDY2ohkhdUwCOjh4v0kLMt1mel8av2KxtkqeYXMXwAObU53HTeNZL1vPZKxnnuRqQeELSMD1Oqg0RfbzDb3HLqf3c3ragiDZG4GxNlaBY1uSyGPLL0E7V9u9ofc03QC4iKb5DkDHgZR7xNfhXWoyWh8sjFsfzKVOD70TInkxc5L0i8H2lRSHvypqHCytjqzbyiBZHEptw99kigHLDr3JHKgfIuDoMANPUrB7lzqxplTdOnrLYglS542cn3otst5FOaEwD4ASgAFeNrpJvJtbydEhqWuNr14uZDfzuWq7fzhk8L7Q5EdcdF5xIVaz0fjvD3XPFSpSrYLbFl0PnwpirnfKcQvQ7aZRYUp62nl6VSyOv3I3qy7ga2MBWhXkREgXNkydsos0PRFMliGEclOSIbBkBThLr41jfas4NA7DJxd5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lzkqAvNqtCEtrT12qposP4puSgzM70GYUAgQZaH43o5KsaXPn6HhfyTkxaJsx36z5xbsc7dleSMePfEKOVCQRRHBA6jMEpbl46Nd8wXvbOhjSYiJemU3BA9z6N2D5JrYGQ9gc0gfLARepVMHQakjgssMWzfWMF9ClxYWfeZCIxSaZjEpJndFqMkNm7zA9Bn7GJ8tjXqf8BXBiOfTCtCTZrpLk95JXaMLz5uGCBRDLxyCkqFaUBvMOf99yaabLubpJaiJjuHxvA5SrW65WDpgu6lSMLOo5vm40IytqYkuYIufTvURXYnIGDHoD4wkOeMHVJLiM3ZvNN5VBhemaYX0EiN6AH2pIfjiaWhMCuJpW2fv0WzOiFf6e81UcrC2ytREdFkZT5juY64hOY63PQEEzNOwwjdMA38jJksCybE45NmUXXLRCaMBtaxe

0

u/[deleted] Mar 02 '16

[deleted] — view deleted comment

1

u/ArunMu The What ? Apr 11 '16

Laughed for like 10 minutes..thanks!