[SOLVED] Read Multiple Words From One Line?
Atm my file setup is this
Code:
NADE=HECode:
NADES=HE|SMOKE|FLASH but my code atm only seems to get flash and smoke out of this and not he Code:
i know it is proberly something easy im doing wrong just cant see it. EDIT: Solved was forgetting the !=-1 in the contain |
Re: [SOLVED] Read Multiple Words From One Line?
You remove | for nothing in that string, '|' is a char as well as space is a char.
Also, you could find usefull to use strtok |
Re: [SOLVED] Read Multiple Words From One Line?
Ok thanks ConnorMcLeod.
|
| All times are GMT -4. The time now is 23:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.