In Settlers of Catan, I sometimes try to ask people if they want to trade a certain resource, tricking them into revealing the approximate amount of that resource in everyone's hand. After this I play the monopoly card. This has on some occasions not been received very well.

Is this fair play?


Question: Opening a file on unix using c++
Answer: Here is a ready piece of code, that performs this task:


  How do I expand `~' in a filename like the shell does?