hasan
Newbie
- Joined
- May 15, 2004
- Messages
- 1,134
- Reaction score
- 0
why not make some coding contests / quizzes.
for example, yesterday on another forum a guy posed a little challenge: write a swap function that doesn't use a temp variable.
It's not hard at all, it took me 3 mins to figure out, write, debug and re-write.
remember that thread about changing one character to make 20 times loop?
things like that would be cool (on another thread probably).
any ideas? let's start with that question:
write a swap function that doesn't use any temp variable.
for example, yesterday on another forum a guy posed a little challenge: write a swap function that doesn't use a temp variable.
It's not hard at all, it took me 3 mins to figure out, write, debug and re-write.
remember that thread about changing one character to make 20 times loop?
things like that would be cool (on another thread probably).
any ideas? let's start with that question:
write a swap function that doesn't use any temp variable.