News

This is something that has bugged me somewhat, and I haven't found a very clear answer. So you have a function that is supposed to do something. You pass it input and get output. References would be ...
So we were going over how to pass arrays to functions in my C++ class the other day, and the teacher says "By default, C++ passes arrays by reference." I go "wtf, no it doesn't." After a few minutes ...