STRCPY, STRCOPY or LSTRCPY?

xiaoxiao2021-03-06  100

I want to copy a string, there are three functions that can be used, Microsoft is really thoughtful for programmers (do you want to play to die?), But what difference there is? Which one should we use?

Strcpy is a C rule function, which is a function provided by standard C.

Lstrcpy is Windows API

And Strcpy is just the call of lstrcpy, equivalent to LSTRCPY

So by the copying string, it is best to use the LSTRCPY function.

转载请注明原文地址:https://www.9cbs.com/read-123793.html

New Post(0)