I am getting this warning but all functions working properly .
what does this really means?
\'strcpy\': This function or variable may be unsafe.
Con
There is actualy a way to avoid this warning, still use strcpy, and be safe:
You can enable the secure template overloads. They will (if possible) deduce the lengths of the buffers used by capturing them with templated overloads. It's a mystery to me why this is not enabled by default in Visual C++.