Regan Heath Wrote: > How have you declared processFileName? Perhaps "char[] > processFileName;"? Is it declared in main right next to processIds? Yes, it is declared just before the for-loop as: char[] processFileName;