Creation and use of strings in C++

Captura de pantalla 2015-11-24 a las 18.51.29.png
By -I- AJM -I-

This is mastery 25! The last one, I can’t believe it. I’ll write about strings.

Strings are objects that hold a sequence of characters (one-dimensional array of characters which is terminated by a null character ‘\0’).

Here’s how a string’s memory works:

Captura de pantalla 2015-11-24 a las 18.43.47

Here’s a code where I used strings.

https://github.com/mferflores/strings/tree/master

 

And now a short poem made by myself.

Strings

The most powerful force on earth,

is not a weapon,

it is not nature.

The most powerful force on earth,

is language,

language are words,

and words are letters.

The most important particle,

is not an atom,

is not even matter.

The most important particles,

you can find them

only inside the alphabet.

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión /  Cambiar )

Google photo

Estás comentando usando tu cuenta de Google. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )

Conectando a %s