CompuServe Messages

Strings in C

    15-Dec-94 19:41:42
Sb: #44540-Strings in C
Fm: Shraddhan 70374,754
To: Doug Walker 71165,2274
Doug, Having asked the question that started this thread off, I went away and used the advice I had received. Some days later, I came back with an even more difficult problem (for me), but before I could compose my question, I found that you had already answered it. – Thanks! I had no idea that adjacent string constants would be concatenated by the tokenizer. I wonder why the authors of the books I looked at didn't seem to mention this – or at least, not bother to refer to the technique in the indexes to their books. Maybe I'm just too pedantic at heart, as I really like to be able to refer to books which give me the facts, the whole facts, and nothing but the facts. Unfortunately, such books seem nowadays to be few and far between – and out of print, too. Many years ago, I was dogmatically anti-'C'. A lot of my dislike of the language can be traced to the original K&R book, which has always struck me as being a half-baked attempt at defining a language. It seems to me that most 'C' books since then have followed their style. What I'm trying to say really is that I think I would have little hope of being able to write anything decent in C without the support I am able to receive here. Thanks again. Regards, Shraddhan (via AP from Hertfordshire, England)