[Include] "stringh.inc": Implementing useful functions from C's "string.h"
#20

Well, then as you said
pawn Код:
#define strcpy(%0,%1)           strcat((%0[0]='\0',%0),%1)
should allow to make this parameter optional for the user.
In the first place I thought to restrict the optional arguments at the strcpy macro for the user, so it becomes more likely the one used in C/C++. But as you said before it uses to have conflicts with enums and etc. Thanks for the info.
Reply


Messages In This Thread
"stringh.inc": Implementing useful functions from C's "string.h" - by Aeonosphere - 18.05.2013, 01:22
Re: "stringh.inc": Implementing useful functions from C's "string.h" - by RajatPawar - 18.05.2013, 04:37
Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Niko_boy - 18.05.2013, 06:53
Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Aeonosphere - 18.05.2013, 07:55
AW: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 08:01
Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Emmet_ - 18.05.2013, 08:02
AW: Re: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 08:12
Re: AW: Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Aeonosphere - 18.05.2013, 08:15
Re: AW: Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Emmet_ - 18.05.2013, 08:17
Re: AW: Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Aeonosphere - 18.05.2013, 08:23
Re: AW: Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Emmet_ - 18.05.2013, 08:31
Re: "stringh.inc": Implementing useful functions from C's "string.h" - by Aeonosphere - 18.05.2013, 08:46
AW: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 10:04
Re: AW: "stringh.inc": Implementing useful functions from C's "string.h" - by Aeonosphere - 18.05.2013, 11:10
AW: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 14:50
AW: Re: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 20:06
AW: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 20:23
AW: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 20:43
AW: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 21:55
AW: "stringh.inc": Implementing useful functions from C's "string.h" - by BigETI - 18.05.2013, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)