You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81e88a2a7c
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables. Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers. |
18 years ago | |
---|---|---|
.. | ||
default | 18 years ago | |
trolly | 18 years ago | |
ai.cpp | 18 years ago | |
ai.h | 18 years ago |