C++ in 100 Seconds

preview_player
Показать описание
C++ or C-plus-plus or Cpp is an extremely popular object-oriented programming language. Created in 1979, today it powers game engines, databases, compilers, embedded systems, desktop software, and much of our software infrastructure.

#programming #compsci #100SecondsOfCode

🔗 Resources

🔥 Get More Content - Upgrade to PRO

Use code lORhwXd2 for 25% off your first payment.

🎨 My Editor Settings

- Atom One Dark
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- What is C++?
- C++ basics tutorial
- Who invented C++?
- What is C++ used for?
- What is a smart pointer?
- C++ vs C
- Object oriented programming basics
Рекомендации по теме
Комментарии
Автор

C++ is like Lego. You can assemble the castle of your dreams, or you can scream in pain as you step on the pieces scattered on the floor

ShortHax
Автор

In C++ we don't say "Missing asterisk" we say "error C2664: 'void std::vector<block, std::allocator<_Ty>>::push_back(const block &)': cannot convert argument 1 from to 'block &&'"

helpfulprogrammer
Автор

“We can get rid of this STD though”
*listens carefully*

jomy-games
Автор

I'm about 2 weeks now in my journey of learning C++ and freeRTOS for programming some ESP32s, and from a JS/Python person POV it's a whole new perspective, you really feel like you are controlling a computer down to the bare metal for the first time. I think every programming enthusiast should try it. Especially with something like a microcontroller where you really need to care about the stack/heap and living inside of a few 100k of ram.

UselessDuckCompany
Автор

Couldn’t fit operator overloading into 100s? 😉

C++ is a huge language. I've been doing C++ professionally for 15 years and still learn new things all the time.

dan
Автор

C++ is my first language and it's really fun to learn. It also made learning other languages very easy.

Zex-
Автор

C++ of 2022, is EXTREMELY different to C++ of 20+ years ago. Now it has extremely high level libraries on the DEFAULT spec so you can do things that any extremely high level language like python did by default (like text parsing) and I think if it had those features from the start dozens of popular languages would not even EXIST.

AnoNymous-dhsv
Автор

The benefits of unique pointers are not to only allocate something once, it's more about making sure a resource is only deallocated once as it will call the underlying objects destructor when it goes out of scope together with the fact that it can only have a single owner.

Speglritz
Автор

c++ having a string library means everything. Having done a course in Operating Systems that was C and that's it, having to manually write string manipulation functions was quite tedious. Not impossible or incredibly difficult, but felt like reinventing the wheel.

ForTheOmnissiah
Автор

The double colon operator (::) that's used to define functions outside the class is called the Scope Resolution Operator.

mayanxoni
Автор

My first, relatively big project I wrote in C++ was a Raytracer! Was (and still is) one of my most favourite projects to date!
Awesome video as always, well written, spoken, and very informative!

Thanks Jeff!

BGTMN
Автор

It’s funny how, even with as much as you covered in as much detail as you can in 165 seconds, the language has evolved so much that discussing templates, lambdas, the ranges library and functional patterns in addition to everything you covered would mean anyone would have to go at “rap god” just to get through it all in the small timeframe. Relay impressed on the level of detail you did go to for this video. Excellent job, love your work! Looking forward to the next one.

oraqlle
Автор

"using namespace std;" is kind of an anti-pattern. It's almost like saying "import *" in Python. You code becomes more terse, but now you can't tell if a keyword is builtin or from the namespace (or from the other namespace you 'used'/imported). And never put this in a header file, it'll hose anyone who includes your header.

ntrgc
Автор

C++ was created as a superset of C but they have diverged since.

tprar
Автор

You literally explained the Sololearn C++ course in a hundred seconds

thehellberg
Автор

In school they showed us basics of a few different programming languages, and i think C++ was my personal favourite out of all of them, i hope to learn more of it in the future

wojtekpolska
Автор

Could you do Lua in 100 Seconds next, please?

maxkratt
Автор

2:40
Compiler Error - > Syntax Error
Expected ' ; ' near ".
😂😂

syedmubazir
Автор

Minor gripe: at 1:22, we don't call that the "bitwise shift left" in this context, but the stream insertion operator, or steam operator. Operators can be overloaded in C++, but people try to keep it "usual".

Shiniiee
Автор

'<<' is called an 'insertion' operator when used with cout.

KushalChandar.