C++

I need to learn C++. I know Sup Forums thinks it's a shitty language, but I'd like some recommendations on resources I can use.
I want to learn the language in depth. It's huge and has a lot of features, so I'm not exactly sure where to start.
I've had exposure to C through K&R, so I have some programming knowledge.

Other urls found in this thread:

15418.courses.cs.cmu.edu/spring2015/exercises)
isocpp.org/faq
m.youtube.com/user/1kingja/playlists?shelf_id=6&sort=dd&view=50
stanford.edu/class/archive/cs/cs106x/cs106x.1162/index.html
twitter.com/SFWRedditVideos

>kawaii op
alright i'll indulge you
if you arent a total retard you can do some parallel programming with it, shared resources, tasking, message passing, rendezvous etc (e.g. 15418.courses.cs.cmu.edu/spring2015/exercises)
and pick a open source project that you can contribute to

isocpp.org/faq

Bruce Eckel - Thinking in C++

What do you even need it for? If you know C, start with STL, smart pointers and move semantics. Then move on to variadic templates, perfect forwarding and then template metaprogramming.

Can I do C++ in vim or is that needlessly painful and should I use an IDE instead
If so which one

depends on the size of the project
i do fizzbuzzes in a text editor because VS feels way overkill
but if it were a big project i'd probably want to use an IDE

Is vs really the best? I don't like the "telemetry"

i didn't say it was the best
idk if i can say what the best C++ IDE is, i've barely used VS and qt creator but they were okay
i don't even know if there is a best C++ IDE, the only other one i know is code::blocks and i know nothing about it

should've mentioned that vim can be painful if you're learning it at the same time as C++, but pic related can help

Oh that's a nice reference, thanks man

try sublime or emacs

...

Learncpp.com

This dude is excellent

m.youtube.com/user/1kingja/playlists?shelf_id=6&sort=dd&view=50

a rare nico

don't do that

if you don't know emacs, spacemacs will be a really bad experience.

I use vim to program with plenty of large scale projects. Standard library and LLVM among others (the library itself). With plugins it's going to be much more comfortable. If you don't want to be bothered too much by the set up start with spf13 and google how to add/disable anything you dislike.

Use something that it is easy to compile C++11 with. The code for it is becoming more and more common with a lot of cool stuff. Don't want to drag yourself down with an ancient compiler.

Scott Meyers: Effective Modern C++ (C++11/C++14)

>I know Sup Forums thinks it's a shitty language
neo-Sup Forums is a shitty bunch of consumerist schoolkids, C++ is great

It's good but don't follow it religiously either. I learnt many cool tricks though.

Dont be a pajeet just google c++ tutorial.
If you already know the basics try advanced c++ by O'REILLY

Effective C++

Effective C++
Read the documentation.
All you need.
The Sup Forums memes are irrelevant.

A Tour of C++
I did C++ for years and years in vim with almost no plugins. It can be done, but it gets a bit unmanageable with larger codebases. You'll want to get autocomplete and a tags plugin if nothing else. I use emacs now, but vim is fine.

Vim (or vanilla emacs if you're into that) for small projects
Visual Studio for big projects
That's all you need, really.

Isn't Effective C++ for people who already know the language and want to go deeper?

What is the difference?

For someone who's never done anything in C++, starting with Effective C++ might be counterproductive.

Not if you already know C.
Reading the c++ tutorial from cplusplus.com is insuferable and doesn't teach you anything about C++.

Online tutorials are shit, but I think starting with a book like C++ Primer might be a good idea. The first few chapters will be easy, but it's very extensive and builds a solid foundation.

You can get the whole bundle if you want

Book recomendations on the /sci/ wiki.
Those books can be found on /t/.

No. I've used it to learn C++ for work (spoiler: pure math grad) and it was a great book, i've started coding in a week and first code review was mostly positive. Great book.

c++ jobs are in decline, it's good to understand c++ to understand many programming, compiler and OS concepts, but the job market for it isn't going to recover

What job?
It's the second most popular language, and is clearly #1 in a number of industries including quantitative finance, video games, and several fields where performance is critical.

Stating that C++ is going away is retarded but even some of the fields you mentioned (quant finance and video games) are developing new tools for their analysts. Said tools are definitely still being written in C++ though. It's no longer the silver bullet to break into those industries.

>new tools
I don't know much about the video game industry, but everything valuable in quant finance is written in C++, the exception being HFT with its heavy use of assembly
Quants also use Python, R and Matlab, but for the actual implementation it's almost always C++
There's a reason why all job listings for quant analysts require a solid knowledge of C++

Finance, research scientist

How did you get these jobs? Are you using C++ often? I have a BSc in pure math and doing MSc in applied math and wouldn't mind knowing how to do something similar

How about Clion?

This

What does CLion have over code::blocks, netbeans, VS or eclipse?

MSc in math from a decent school is usually enough, only top firms or senior job openings require a PhD
Make sure to take the necessary classes (check out quantstart) and get good grades and an internship and you're good.
You probably won't make as much money as you think, though, quants aren't as well paid as bankers and finance in general is way past its golden age.

>I need to learn C++.
are you actually interested in programming? like programming? because it sounds you just want to do it for some other reason. If you have no genuine interest in it learning c++ or any other language is still possible but it will be extremely boring (and difficult for you)

PhD from one of the top yuropoor unis, got an offer from a big quant company. I mostly use C++, but also work in R and assembly, though these days i don't do a lot of programming, just math. You're in a better position if you mastered in applied math, especially stat or lingebra. I only got an offer because in my dissertation i hinted at some possible applications of AG in machine learning, and that's exactly what i've been exploring for the past year or so. In other words, it was pure luck for me.
Research positions pay extremely well here, but it's pretty much 24/7. You also get ditched quickly if you don't produce anything of value. Very competitive atmosphere in this company, but i get to work on what i love and i doubt shitting out half-assed papers in academia would be more fulfilling or less stressful.

>quantstart
Didn't know about that, I'll look into it. I don't expect to make it big but I want the money to be at least worth the time spent working which is guaranteed not to be the case in academia.

So you're saying recruiters look at your thesis? That's interesting. I mostly do computational science and ML in my classes.

Thanks for your answers bros.

>but if it were a big project i'd probably want to use an IDE
I have a couple of somewhat large projects (100k+ LoC). None in C++, but in C and Java, and with that I'm perfectly fine with Emacs. Haven't tried to use vi for them, so I can't speak about that.

Modern C++ is OK
Just use std::vectors everywhere.

which c++?

In this company, they are actively finding candidates. Don't think i would get noticed if i went to some other uni.

Is it possible to break into the field if you went to a good uni but not an exceptional one?

bump

maybe if you like cook

I'm guessing you mean cock but what does that have to do with it?
I'm just asking if quant finance is only open to people from top schools.

I can recommend these books

I don't even understand why Sup Forums thinks it's a shitty language. Sure, it has a lot of obsolete or poorly integrated features, but it's still ahead of the curve in terms of real world aplications...

This.

Oh hi there stackoverflow.com

Accelerated C++

Yes if you're exceptional yourself. Also, it depends on who you want to work for.

What separates mediocre postgrads from exceptional postgrads?
>who you want to work for
Any hedge fund (that isn't too shitty) or bank really. I'm not aiming for rentech or anything, I'm trying to stay realistic.

How many of your articles were published in impactful journals is a good metric im pure math. Also how fast you earned your PhD, and of course the research. If you put out something like that nigress from Harvard, people are going to laugh at you rather than hire you.
As i've never worked in an average institute, i can't comment on that. But you shouldn't underestimate yourself, you might be surprised what people rentech reaches out to :^)

>that nigress from Harvard
who?

>pure math
Is it the same for applied math?
>you might be surprised what people rentech reaches out to
I'm entering the last year of my bachelor's in math, so I don't have a good idea of what postgrad looks like, but simply obtaining a math PhD seems extremely hard, so I haven't even thought about things like publications. Am I worried over nothing?
How long should a PhD take on average, four years?

CS106X from Stanford, you can get all of the materials online.

stanford.edu/class/archive/cs/cs106x/cs106x.1162/index.html

She basically got her PhD without doing anything

Link?

No idea about applied, lots of applied research was commercial on my uni though. Joint projects with various companies.
Most people take 4 years to get their PhD.
www.theliberatedmathematician.com%2Fwp-content%2Fuploads%2F2015%2F11%2FPiperThesisPostPrint.pdf

>Joint projects with various companies
That sounds like it would make it easier.
Why are pure math specialists recruited in fintech by the way?

Why even have all three?

is like cee but plus plus

thank

Yeah the better undergrads do internships, grads do their research for those companies and by the time they finish uni, they've already secured a job.
It isn't unheard of for pure mathematician to get into finance. The company i'm in based its bussiness on h
pure math postdocs. Most of them are specializing in analysis though, not geometry like me.

Why do you "need" to learn C++, explain your self NIGGER FAGGOT...

And maybe I'll bless you with my vast C++ resources.