-
Registered User
help?? please
hello guys i just wanted know few fucntion name which will do me the following jobs
1. is there any fucntion to rename an given file like in C we have rename function under stdio.h?
2. and againn any fucntion to reallocate the memory like in C realloc we use
any reply would be appriciated
ssharish2005
-
Registered User
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
-
No,there is no equivalent c++ equivalent to realloc because class object have special problem if we try to reallocate them
-
and the hat of int overfl
There is no c++ equivalent for realloc, in the same way that malloc->new and free->delete
But then containers like vector make the need for such things less of a problem.
-
Registered User
thax very much Salem, Vaibhav.
ssharish2005
Popular pages
Recent additions