Search:

Type: Posts; User: whiteflags

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    1,316

    You're an idiot. He asks about both vectors and...

    You're an idiot. He asks about both vectors and default arguments in his post. All you have to do is read his code to notice this, but I will explain my answer.

    f() is a function.
    pair<int, int>...
  2. Replies
    5
    Views
    1,316

    It's a C++ feature called default arguments....

    It's a C++ feature called default arguments. Unless you provide a different argument for dad, it will be -1 in the function. What's the reason, you think? A default argument is a good way to add...
Results 1 to 2 of 2