string. Because I'm used to strings from Java and also because strings are just better. The little overhead is unnoticeable.
string. Because I'm used to strings from Java and also because strings are just better. The little overhead is unnoticeable.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
I use a mix of both =3
Ah we-a blaze the fyah, make it bun dem!
somtimes i get lazy to include the string header file so i just char. lol.
Some people say the char pointer is Dangerous and to just stay with the string..
But i dont see whats the fuss is about i use both bout the same anyways
The string itself is stored in memory the same way anyway, it doesn't really matter.
both. strings are useful for building stuff, but there's a tiny overhead on them, depends on the context in which I'm using them.