Here you can find more information about arrays: https://www.programarya.com/Cursos/C++/Estructuras-de-Datos/Arreglos-o-Vectores
You can find information about vectors here: http://www.cplusplus.com/reference/vector/vector/?kw=vector
You can find information about strings here: http://www.cplusplus.com/reference/string/string/?kw=string
(Tuve problemas para subir el video por que estaba muy muy lento el internet, por eso apenas lo postee, espero y pueda comprender ken)
]]>Description: Creation and use of arrays and strings in C++.
Wait, I didn’t know strings were arrays! Just kidding, we have to know all about arrays and strings if we want to make more complicated code, and it’s always useful to know that you can do one thing in more than one way.
That said, I leave you with the video explanation.
]]>Here is my video to masteries 22 and 25
]]>Here is my video to masteries 22 and 25
]]>So let’s start:
]]>I explained some code from this source:
]]>First you’ll need to call the string library on your code editor the same way you call iostream at the beginning of everything.
An easy example of the use of a string is by just calling one and printing some phrase on the monitor. For this you name the string and you choose what the string will print.
As easy as that
Another way you can use a string is on the detection of a palindrome
here you’ll need to use the function length so it can be calculated the length of the string
And later ask the user for the content of the string
here’s the full code of that program
]]>And my video explanation for creation and use of strings