Creating a 2D Array / Matrix Class in C++ (Part 2)

  Рет қаралды 7,660

Michael Roe

Michael Roe

Күн бұрын

Пікірлер: 15
@neux64
@neux64 2 жыл бұрын
Prior to figuring out how to use (or actually implement) this, I wished there was a part 3, but however I did figure out how to actually assign elements to the array and reference them. So basically, here's how you initialize and insert values into the matrix and print them: int main() { Matrix mat(2, 2); mat.getRow(0)[0] = 1; mat.getRow(0)[1] = 2; mat.getRow(1)[0] = 3; mat.getRow(1)[1] = 4; for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) cout
@hammadahmad6312
@hammadahmad6312 2 жыл бұрын
hero
@albertoabadsanz3608
@albertoabadsanz3608 7 жыл бұрын
You need to upload part 3! man...
@AbolfazlShirazi
@AbolfazlShirazi 5 жыл бұрын
error C2039: 'alloc\dealloc' : is not a member of 'Matrix' error C3861: ''alloc\dealloc': identifier not found
@neux64
@neux64 2 жыл бұрын
Add them to the header.
@nallamillibalaveeraraghava9663
@nallamillibalaveeraraghava9663 6 жыл бұрын
Hi great tutorial can you pls make detailed video on recursion and backtracking by teaching with some examples.
@stelity
@stelity 6 жыл бұрын
It would be better if you just posted the code in the description. I tried typing it out, but I made too many errors and it was too much work to scroll through your video to see which lines I've got wrong.
@neux64
@neux64 2 жыл бұрын
It's not really that much code compared to what you actually need to do in the line of work, which is 2000+ lines of code everyday that you have to "work to scroll through."
@Biggsmiles69
@Biggsmiles69 4 жыл бұрын
I can't find part 3. Can someone point me to it. Thanks for the great video
@neux64
@neux64 2 жыл бұрын
It doesn't exist. Never had, never will.
@marcinpajak1534
@marcinpajak1534 6 жыл бұрын
and what about part 3?
@faramarzkhosravi
@faramarzkhosravi 6 жыл бұрын
please do not waste your time. completely wrong implementation
@neux64
@neux64 2 жыл бұрын
Ok genius, how would you implement it? Got any better ideas? I reckon you just ignore what the error console is actually saying.
@faramarzkhosravi
@faramarzkhosravi 6 жыл бұрын
plenty of errors
@neux64
@neux64 2 жыл бұрын
fix them
Creating a 2D Array / Matrix Class in C++ (Part 1)
23:28
Michael Roe
Рет қаралды 15 М.
Choose Your Own Adventure in C++ (LPS Final Project)
26:20
Michael Roe
Рет қаралды 3,5 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 101 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 17 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 96 МЛН
Move Semantics in C++
13:10
The Cherno
Рет қаралды 299 М.
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
The Absolute Best Intro to Monads For Software Engineers
15:12
Studying With Alex
Рет қаралды 662 М.
Master Go Programming With These Concurrency Patterns (in 40 minutes)
46:15
MergeSort in C++
20:32
Michael Roe
Рет қаралды 16 М.
CrossWord Generator in C++ (part 1)
23:54
Michael Roe
Рет қаралды 9 М.
lvalues and rvalues in C++
14:13
The Cherno
Рет қаралды 321 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 101 МЛН