What library is strcat_s in?
I tried to include string.h
and stdlib.h
, but I still get <.90> errors.
This leads me to conclude that this is in a different library that I have not included. Where is it?
I am using the gcc compiler - the code is written on windows but about to compile and run on a unix server.
source to share
It is present string.h
on Windows platforms
You can also refer to this cppreference
Defined in title
<string.h>
You might be better off using strcat if you are on a UNIX platform.
source to share
It seems to be part of the C11 standard:
http://en.cppreference.com/w/c/string/byte/strcat
To be honest, I'm not very good at standards when it comes to standards, and I could be quite wrong. <
source to share