You’re fortunate. It’s very easy.
Well if you are familiar with pointers, you should know that the identifier of an array of X elementes is just a pointer to the first element of this array.
Let’s pretend on your machine an int takes 4 bytes. Making an array of 2 ints ( int p ) will look like this
The first 4 magenta blocks is the first integer, the other 4 are the second integer.
Our pointer P (which is the name of the array) is pointing to the first integer (first block) of the array.
*cout << p will print the first integer.
There’s a fancy thing called pointer arithmetic.
*cout << (p+1) this will print the second integer
Notice that we are not modifying the pointer and we can’t because don’t forget that this is a pointer belonging to an array, it’s no “free-to-use” like normal plain pointers.
Notice also the +1. That would have been the same thing writing cout << p
This is a **very very very **short example about pointer arithmetic.
Operations on strings I don’t know if he speaks about STL strings (C++) or plain strings like char] strings and char* strings (C-like strings)
Either way, remember the first case you are making a size-fixed array of characters (you should know the average lenght you need for your string since the beginning). It doesn’t include any particular operation like assignment operator
The second one is more flexible in terms of operations, but that is a constant string which cannot be modified.
Very very general even about this part, but there are a lot of tutorials online you can study from!