Be notified of new C/C++ course: calcur.tech/c-cpp-newsletter
@mitchellxiang993428 күн бұрын
You really saved my life! Thanks Caleb!
@spidermanlift4527 Жыл бұрын
Hey Caleb, I started coding with arm assembly, and I learned that pretty well. But due to having to switch to C++ for a different project I struggled a lot with the syntax which your videoes helped a lot. Understanding how it works at a low level but not knowing how to do it is really frustrating.
@brajlecz9485 Жыл бұрын
Damn, caleb got in shape! great work!
@pastasawce Жыл бұрын
What's a pirates favorite programming language? C! With Args!
@caiooliveira9108Ай бұрын
on pointer to a pointer, i still dont get why using double pointer. in the outer function , what memory address being changed if the memory address of data is actually pointing to the first memory address of inter array?? it seems for me just one later of pointers. additionally, what would have change if inner function data just have one * and the outter function passed & and just deference inside the outer function? it would present the same results as double pointers?
@dwivedys3 ай бұрын
Pointers - while conceptually are not too complicated to understand - in practice blows the hell out of the brains!
@jerardosandoval861 Жыл бұрын
Perfect. I have a final today
@GSeymore6 ай бұрын
Thank you!
@boryswwa Жыл бұрын
08:03 Hi Caleb, could You explain, why we don't need to use a dereference operator (*data[i]) to get the strings in std::cout in this examle? if data[] is an array of pointers, and we get specific value from that array, shouldn't we get the address of the string as a return, rather than the string itself, since we are not using a dereference operator here? Or is do the brackets in the array reference dereference the pointer by definition? Great tutorials btw.!
@meera.940410 ай бұрын
Nice.
@Baconc2Ай бұрын
Hold on. Pointer to a pointer in the ast example data points to outter data variable which is pointed once deferenced to tmp variable?
@sriramkannan317Ай бұрын
temp holds the location of newly created int 10. Now the outer data pointer is made to point to this same location by dereferencing the pointer to pointer data inside function
@Baconc228 күн бұрын
at 10:26 could i have just *data=tmp to modified the data inside main () instead of replacing the pointer? or just pass as reference&?
@meera.940410 ай бұрын
Nice 👍
@luigichopper Жыл бұрын
The chapters say 'ChatGPT' Informative video btw! 👍
@codebreakthrough Жыл бұрын
Oops, copied prev video and forgot to update timestamps. Just updated! Thanks.
@luigichopper Жыл бұрын
@@codebreakthrough Np! I also watched your entire C++ series over the summer and learned a ton!
@harrysbidos2 ай бұрын
Actually, reference pointer could be used instead... in the second example.
@Sydney268 Жыл бұрын
Well I have no idea why it didn't work just copying the lvgl object pointers into an array - but it did when I made an array of pointers to pointers of lvgl objects?! static lv_obj_t **ta_time[4] = {&ui_SettingsTime1, &ui_SettingsTime2, &ui_SettingsTime3, &ui_SettingsTime4};
@The1RandomFoolАй бұрын
Pointers to pointers; it no longer seems pointless.