New answers tagged


Looks plausible. The two biggest pieces of advice I have for you are: Format your code consistently and idiomatically! One easy way to do this is to use the clang-format tool on it. A more tedious, but rewarding, way is to study other people's code and try to emulate their style. For example, you should instinctively write vector<T>, not vector <T&...

Top 50 recent answers are included