C++ Programming Tutorial 46 - Working with Arrays

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


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

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

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

Is there a reason that you used sizeof() to output the elements in the array? In my for loop I just had (int i = 0; i < guesses[i]; i ++) Is there something wrong with this way and that's why you didn't mention it? With this way it outputs everything in the array without the zeros you got when the size of the array was larger than the number of elements initialized.

Kin.Grows
Автор

How come in the for loop the index of the array represented as i, despite having already incremented to the value 1, still shows the integer at index value 0?

omarramadan
Автор

Could you also make a video regarding c-strings using char arrays. You already have this amazing video and also on c++ strings using std::string. Im new to c++ and i think there is really a need for a actual video with char arrays and c-strings and how they differ from c++ strings and it would also show a different usage of arrays :-) . Thanks for all of your videos

rasmusamundhenriksen
Автор

5:00 why is the output 413 when you're outputting guesses [0]?

cynthialucien
Автор

does the comma not have any value in the array

bahrant
Автор

So what about user defined sizes?

Enter n;
Arr[n];
Int I = 0; I < n... You get the idea. I'm going through the Gaddis book and I'm on chapter 6 right now and seem to be having no problem not having the size set before compile. Is that something my IDE is fixing without me knowing?

jeezygarceezy
Автор

When you're a star they'll let you do it. You can do anything.. Grab 'em by the index. You can do anything.

kdtallllll
Автор

why system("cls") is not working in xcode

jalalshah
Автор

Hello, this was a helpful video.

I'm an astrophysics major. I am familiar with Python but I need help with C++.

I need help reading and plotting data from star and galaxy files. Ex. I may have a file with hundreds of stars and 3 columns; say distance, B-mag and temp.

How can I read the file then plot it? Do I need Gnuplot and can I plot it in my code? I use Visual Studio

speedspeed
Автор

does anyone know the theme he's using?

kenkaneki
Автор

Also. Thank you, you are helping me pass college...hopefully

mhero
Автор

Q: What’s the size of Embarcadero’s user base?

A: Over three million.

PunmasterSTP
Автор

This is really killing C++ for me right now

Hytension