So I remember learning about a year ago that you could use #if/#if 0 to basically comment out immense portions of code, no matter what types of comments or nested comments there were in the code. This was really handy in robotics when we made some code that could have been better (we had a "Code Graveyard", complete with an Ascii grave and flowers), but I kind of forgot the syntax for it. Can anyone help? Does anyone know whether it is complier-specific or or whther it will also work in C++?
Thanks in advance. I know the question was a little odd and a bit specific, but hey, if someone tells me the syntax again, it would be extremely handy.
Oh, and I would just ask the people in robotics, but those who were good at programming in the club basically all left to go to universities. Arun's quite good, but I don't think he knows this, because I asked him earlier.
Thanks in advance. I know the question was a little odd and a bit specific, but hey, if someone tells me the syntax again, it would be extremely handy.
Oh, and I would just ask the people in robotics, but those who were good at programming in the club basically all left to go to universities. Arun's quite good, but I don't think he knows this, because I asked him earlier.




Comment