Reading ini files
#5

Quote:
Originally Posted by Scripter18
Посмотреть сообщение
Increase string maybe ?
Nope. 24 cells (size of g_ServerPassword) is enough for "password" and 64 for "value". Also I assume increasing the size has nothing to do with this.

EDIT: I tried printing g_ServerPassword like this:
Код:
printf("Password: |%s|", g_ServerPassword);
and it got messed up as well. This means wherever g_ServerPassword or any other thing I load gets printed it messes it up. Like the last one or two characters get moved to the beginning of the message. This is what it looked like:
Код:
|assword: |0
Reply


Messages In This Thread
Reading ini files - by GoldenLion - 23.12.2016, 18:21
Re: Reading ini files - by SoLetsGO - 23.12.2016, 18:26
Re: Reading ini files - by GoldenLion - 23.12.2016, 18:29
Re: Reading ini files - by Bolex_ - 23.12.2016, 18:31
Re: Reading ini files - by GoldenLion - 23.12.2016, 18:31
Re: Reading ini files - by Bolex_ - 23.12.2016, 18:42
Re: Reading ini files - by GoldenLion - 23.12.2016, 18:44

Forum Jump:


Users browsing this thread: 1 Guest(s)