std::wcscpy

From Cppreference

Jump to: navigation, search
Defined in header <cwchar>

wchar_t *wcscpy( wchar_t *dest, const wchar_t *src );

Copies the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest.

Contents

[edit] Parameters

dest - pointer to the wide character array to copy to
src - pointer to the null-terminated wide string to copy from

[edit] Return value

dest

[edit] Example

[edit] See also

copies a certain amount of wide characters from one string to another
(function)
copies a certain amount of wide characters between two non-overlapping arrays
(function)