c++ Programming Glossary: intclass
How to return a reference in C++ http://stackoverflow.com/questions/4633767/how-to-return-a-reference-in-c to return its reference how can I do it Lets say I got an IntClass that has a 'int num' field in the private. So i want to create.. field in the private. So i want to create a new element of IntClass in the function and return the reference of that object. I've.. although I get no errors from the compiler itself ECLIPSE IntClass a new IntClass 10 IntClass ref a return ref Any ideas how to..
|