Ji Li <liji@jlab.org> writes: | Hi, | | Yes I get the idea. The question is the real code that I am | dealing with is far more comlex than the example I gave here. Ok, I will | try to change the code. Thanks to you all for your help. As a transition, you might want to start with a "using namespace std;" right after the includes. -- Gaby