mathgirl im not sure where you found that i was actually asking for a friend of mine, who knows more about c++ then me at this point.i can see how you would think i plagerized or whatever but i assure you its just coincident.thanx for the link though, its very informative.again though sorry for the misunderstanding