[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / edu / hobby / tech / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password (For file deletion.)

Join our Matrix Chat <=> IRC: #leftypol on Rizon


File: 1669311214048.png (107.05 KB, 169x255, 1621459814328.png)

 No.17810

Does anyone have a site or video playlist to learn C++ from scratch?

I'm doing terribly in my course's Programming class because I'm completely lost and didn't do any assignments

 No.17811


 No.17816

Do the assignments, attend the lectures, go to tutoring.

This one is famous but I never did it:
https://www.codecademy.com/learn/learn-c-plus-plus

 No.17827

>>17816
Thank you i'm gonna check it out

Attending lectures now is only for minimal attendeance, I already skipped way too many classes and now I'm at a total loss

 No.17828

File: 1669323866388.pdf (4.11 MB, 197x255, posix_c.pdf)

learn c first

 No.17832

>>17828
My course uses C++ in the programming class

 No.17833

>>17832
C++ is like 75% C, only thing missing is the classes and objects

 No.17834

>>17833
Also the w3schools tutorial is a good reference for continuing from C into C++

 No.17836

>>17833
>>17828
If you think it's just fancy C then it's pretty obvious that you have not seen any modern C++ codebases.

 No.17838

>>17836
I linked an interview with Alan Kay in the Java thread, where he also said very insightful things about C++.
>SF To what do you attribute the long-term love of Smalltalk? There is a certain set of languages that I would assert people seem to love, not just use. I know many people who love C. I know very few who love C++, even though they may make their living on it.
>
>AK You have to be a different kind of person to love C++. It is a really interesting example of how a well-meant idea went wrong, because [C++ creator] Bjarne Stroustrup was not trying to do what he has been criticized for. His idea was that first, it might be useful if you did to C what Simula did to Algol, which is basically act as a preprocessor for a different kind of architectural template for programming. It was basically for super-good programmers who are supposed to subclass everything, including the storage allocator, before they did anything serious. The result, of course, was that most programmers did not subclass much. So the people I know who like C++ and have done good things in C++ have been serious iron-men who have basically taken it for what it is, which is a kind of macroprocessor. I grew up with macro systems in the early ’60s, and you have to do a lot of work to make them work for you—otherwise, they kill you.
https://queue.acm.org/detail.cfm?id=1039523

Even with the standard library and boost, C++ is a thin layer over C, which can face much of the same issues if you're not careful, including int overflows, pointer corruption and memory leaks. projectM-SDL had stack corruption that only surfaced when linked against musl libc, until someone groveled through their codebase and eliminated enough string allocation leaks for it to work.

 No.17839

>>17838
An interview from 2004 that is only tangentially related is not helping your case. People use modern C++ very differently from C. You can bitch about their common issues but that won't help OP.

 No.17840

>>17839
What does C++11 fundamentally change about this dynamic?

 No.17842

>>17839
OP is just gonna do the codecademy course probably

 No.17843

>>17840
It's not just a "thin layer over C", people write C++ in a very different way than they write C. It requires a different approach. It's like saying C is just a thin layer over assembly.

 No.17888

File: 1670199974432.jpg (111.39 KB, 1728x1080, cherno.jpg)

Cherno on YT has a big playlist of C++ that I binged and it taught me everything I need to know

 No.17890

>>17810
if you don't do exercises, you won't learn. You need to actually type it out or else you won't get it. Reading a book is probably the slowest route. I'd go with code academy.
>>17827
I'd go anyways. If you pay attention, your brain will start to piece things together and you might understand something.
>>17828
Fuck off.
>>17839
>2004 C++
The language has evolved greatly. It no longer resembles C plus classes with nicer syntax. It is a different beast as the other anon said.

 No.19310

if you are an engi student this might be helpful….even if you are just cs student I guess.


Unique IPs: 10

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / edu / hobby / tech / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]