User profile: gameprogrammer

User info
User name:gameprogrammer
History
Joined:
Number of posts:22
Latest posts:

Checking if variables are pairwise distinct
Duoas' method is very simple and it is the one I'll use, the other ones are a bit more complicated a...

Checking if variables are pairwise distinct
Duoas, I hadn't heard of std::set before and I'm not sure how should I go about using it. The compil...

Checking if variables are pairwise distinct
Stewbond, your given functions is not exactly what I need. Both the following codes output 0: [code...

Checking if variables are pairwise distinct
If I want to check if all the variables are pairwise distinct, i.e. they're all different. Here's a ...

Where's the problem in my simple code?
My compiler tells me there's an error in the 24th line: "invalid suffix on "x" on integer constant"....