[b][red]This message was edited by PooBear at 2006-2-1 23:59:35[/red][/b][hr]
This is for Linux C++ (gcc compiler)
I have two functions which takes the parameters by refernce. It should be something like this.
The function "ProcessRequest()" in Class Process call the "Process()"
function of the foo class inside of it which has its argument passed by reference.
1. How do I pass n1 to "Process()" function.
2. What if I change Foo class Process( first &p1) function takes the parameter by value like this Process( first p1) and call just Like what I am doing in the function ProcessRequest() in class Precess.
Does that make copies?
Please some one explain to me.
int Process(first &p1)
int ProcessRequest (first &n1 , second & n2)
0 · ·