in reply to Re: C style strings
in thread C style strings
«…do you have a proper specification?»
Since I had none at hand I took the here:
"In C, the string data type is modeled on the idea of a formal string (Hopcroft 1979):
Let Σ be a non-empty finite set of characters, called the alphabet.
A string over Σ is any finite sequence of characters from Σ.
For example, if Σ = {0, 1}, then 01011 is a string over Σ."Seacord, R. C. (2020) EFFECTIVE C An Introduction to Professional C Programming no starch press
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: C style strings
by LanX (Saint) on Jan 01, 2023 at 13:39 UTC |