i made qucik search on the board. it gave me few details telling me that can use rename to rename a file as cstdio is part of a c++ standard. but what about the reallocating the memory

ssharish2005