And why do you want to do this? Can you provide an example of what you
are trying to do? This smells of homework.
It's absolutely NOT homework - I've been around UseNet & FidoNet far
too long to that sort of abuse.
That said, here's what I need to do:
char sEvents[26] = ""; // an empty string
...
I wish to append some individual characters to this "string",
depending on various conditions, so that ultimately it might have a
value of "abdemnst". Such a problem could be done in a loop ('a'-'z'),
where some condition directs the placement of a character (or not).
Yes, there are fancier tools (bitset, etc.) that I could use, but
there are application reasons that prevent my reengineering and
reimplementing a lot of legacy code at this time - I'm working with
hundreds of thousands of lines of code, and I really can't rip apart its
data structures at this time.
Thus, I just want to know how to append individual characters to
existing "strings"...