Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    Are char arrays really so daunting that people go to this length to avoid them? Why struggle with this when you could just write a char array and be done with it? Commented Sep 9, 2020 at 23:06
  • You are writing this from a position of beeing an expert about arrays of char, c-strings etc. This does explain nothing to come nearer to the point of enough knowledge to use your preferred way of using "strings". So a much more productive comment would be to explain how it works. Not with a most short and elegant single line of code but with a thoroughly explained example with lots of comments or additional text. Commented Sep 11, 2020 at 4:03