[HELP]Error 027: invalid character constant
#6

You actually optimized the code with this
Код:
"%s%s", PATH, playername
Using the define directly is faster.

About the other suggestion>>
He already has a specifier(%s or %c or ...) so he doesn't need an %s at the end.He is mostly having an error with his define.

And why can't it be used directly?
#define PATH "/users/%s.ini"
format(string,sizeof(string),PATH,playername);
Reply


Messages In This Thread
[HELP]Error 027: invalid character constant - by OllyBrock - 26.02.2014, 17:14
Re: [HELP]Error 027: invalid character constant - by TheFlyer - 26.02.2014, 17:15
Re: [HELP]Error 027: invalid character constant - by Yashas - 26.02.2014, 17:16
Respuesta: [HELP]Error 027: invalid character constant - by CuervO - 26.02.2014, 17:18
Re: [HELP]Error 027: invalid character constant - by OllyBrock - 26.02.2014, 17:23
Re: [HELP]Error 027: invalid character constant - by Yashas - 26.02.2014, 17:24
Re: [HELP]Error 027: invalid character constant - by OllyBrock - 26.02.2014, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)