Jump to content

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium

https://cplusplus.com/reference/cstring/memcpy/

 

25.38.195.218 should be a const char* ("25.38.195.218") and the third parameter it's of type size_t (in this case the size you want to copy the source, the ip, to the destination, +1, aka sizeof("25.38.195.218")+1)

If you want to copy strings/chars to a char[] I would suggest strlcpy:

This is the hidden content, please
  https://man.freebsd.org/cgi/man.cgi?query=strlcpy&sektion=3

 

Link to comment
https://metin2.dev/topic/31430-problem-with-compile/#findComment-160063
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.