adding = and == to my class
Posted on 2006-06-26
I have a class thats really just a simple vector class called record that I use for a very specific function in a project I am working on, now it has a private int array value,
I want to be able to do this basically,
//where set just gives the private int array the values given as arguements
a=b;<-- this is the part I can't figure out, how do I add = to my list of class functions
execute such and such code.
I can't find this anywhere on the internet, I believe because I don't know what to search for exactly, if anyone could help me out with this I would be greatly appreciative.