Need to read string from file and store it in array
Guys i need to read list of strings from file and want to store it in array but im unable to do that :cry:
PHP Code:
|
Need to read string from file and store it in array
What did you try?
|
Need to read string from file and store it in array
Guys i need to read list of strings from file and want to store it in array but im unable to do that :cry:
PHP Code:
new const Prefix[MaxLevels +2][] = { "Newbie", // 0 "Noob", // 15 "Playah", // 40 "Semi-Pro", // 75 "Senior", // 130 "PIMP", // 200 "GangLeader", // 300 "Global Assasin", // 450 "Chuck Norris", // 650 "Veteran", // 1000 } I want this to be written in a ini file so that anyone can modify it nd i want to read that ini file den store the class names in an array like the above array has 9 classes for 9 levels so i want to display respective class names for respective levels so pls suggest modification in my code :cry::) |
Re: Need to read string from file and store it in array
i have declared all global variables but not metioned in the code
|
Re: Need to read string from file and store it in array
Oops, tried to move Arkshine's post from the other thread here and delete it because it was a duplicate, however the "Move" option somehow changed the thread author. Can anyone fix this?:oops:
|
Re: Need to read string from file and store it in array
I've unucked and merged both threads, but not sure what other thread you're talking about.
|
Re: Need to read string from file and store it in array
Thanks. The one you merged it with seemed like a duplicate to me (except without any actual content), so no clue what was going on there.
|
Re: Need to read string from file and store it in array
Guys help me :/ need help un dis code
|
| All times are GMT -4. The time now is 09:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.