Slashdot Mirror


User: wgrim

wgrim's activity in the archive.

Stories
0
Comments
1
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1

  1. Re:Question 3 Solved on Programming Puzzles · · Score: 1
    And unlike the sad little C/C++ solutions people are tossing around, this works for *any* type, not just ints & chars...


    You are an idiot. Don't you realize you can swap the memory addresses of automatic variables?

    Sounds like you just have a personal problem with computers, because swapping the memory addresses can swap ANY data type. I bet that's how perl and other languages (OCaml) probably do it at the implementation level even.

    Don't be an idiot and say other people's solutions are sad without thinking first, moron.