How does this do what it does (C++ classes, use of colon)

the "proper" solution (is ever other improper !!)

for the rest of the 50 line program ???

while i have no experience myself, i believe i understand how the more advance C++ concepts you suggest make a lot of sense in larger windows or very larger scientific applications, but i don't see their value in terms of the time needed to understand them (Stroustrup suggest 10 years!).

i understand why we all look for opportunities to learn about these advanced concepts. (Stroustrup also warned against using C++ concepts unnecessarily). but what i have found is that a time may come when the need for such a concept becomes obvious. it's one of those "that's where this makes sense" moments. you apply the concept and move on.

1 Like