geekWithA.45
Moderator Emeritus
I never did C++ but I did take a java programing class in college how in the world you not use string when writing code? In our most basic program it still had to have string in it.
Because in C/C++, there's really no such formal native contept of "strings" per se.
There is, however, the convention that a null terminated array of char is perfectly usable for stringlike purposes.
From this notion came a bunch of std lib functions, which would do perfectly horrifying things to regions of memory that did not happen to contain null terminated arrays of characters intended for stringlike purposes.
Like Navy nuclear reactors which have no safety mechanisms, and which allow the operator to perform "career limitting operations", C presumes that if you wrote 10,000 bytes past the end of the array overwriting the code segment you're executing, well, you must have had a good reason for doing that.