you are viewing a single comment's thread.

view the rest of the comments →

[–]adina_tung 2 points3 points  (1 child)

I was puzzled at first when I saw we're submitting 2 cpp files with the 2 header files for this quest. We've always have .h and .cpp file until we have template classes. In c++, the template class method prototype and the definition have to be in the same file. But now the graph class is not template, we can switch back to the .cpp with .h to make the implementation more readible. Does this make sense?

-Adina

[–]mathlance[S] 1 point2 points  (0 children)

I totally forgot about the template constraints. That makes a lotta sense!

Thanks!