C++ Programming Tutorial 57 - Array Vs Vector Vs STL Array

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Man, you are a stone-cold BOSS. Every single video of yours that I've seen is concise, informative, and well-delivered. Thanks!

louvierejacques
Автор

Can't believe this video has so few views, it deserves much more. Thanks!

TheMazanec
Автор

For any beginner trying to optimise their code I'd say
The fact that you're using C++ is enough optimization as it is

thedaranesianconfederation
Автор

Nicely summarized. Thank you very much.

nilupulperera
Автор

Here's a toast to the only code professor to use a blackboard ever.

hardikrajpal
Автор

I heard what you said. Yet in the final minute .. to help the student you could say and write that ... passing by reference for std::vectors in completely normal on many occasions, if not most. Passing by reference is common place and could be on the chalk board.

videofountain
Автор

As a C developer I really never had such questions to answer...😉

knofi
Автор

C style arrays are the easiest to copy. Just memcpy. If you have a contiguous set of data and you know # of elements, memcpy is extremely fast. No iteration involved.

daxu
Автор

Hi @codebreakthrough Which classes you have that is recommended for someone moving from C and C# to C++. I have many years of experience using embedded C (10 years), and also many years using C# and understand OO.

Laith-sl
Автор

Hello Caleb, nice video, one concern though at one point in the video(6:00) in the table you say we cannot pass vector by reference?? We can pass the vector to a function by reference, right?

debapriyoray
Автор

This video is helpful but
How do I push back a vector using struct

CodeWithPurpose
Автор

The largest concentration of wrongness in the whole video:
"Usually, problems with your application's speed are not going to come from what data type you used"

Outdated "lessons" like this take YEARS to unlearn and cause untold amounts of ruin. This was forgivable in 1990's compsci textbooks, but not anymore.

Meanwhile in reality:

minRef
Автор

you have no idea what you are talking about, you are wrong on virtually every topic here

chrischoir
visit shbcf.ru