I wanna start off as simplistic and somewhat useful as possible. So i think imma try to make a Quiz program. But one thing i would like to do is hold the questions and whatnot in a ini file.
So can you point me in the right direction for ini reading? or would i have to create a function to do that for me? And also, Can someone point me in the right direction for something like "tokens"? In other words, if you have
string myString = "jake.lee.john.joe.phill"
How can you retrieve the 2nd token, and whatnot. In mIRC you can use lovely convienient things called token identifiers, such as $gettok which allows you to retrieve a "token" from within text and any seperating character. ie if i wanted to get lee from myString i would type $gettok(myString,2,46) where "2" is the 2nd token, and "46" is the 46th ASCII character. Commonly known as ".", so can anyone help me with these things? Im not asking anyone to write em for me, just if they exist let me know where, and ifnot can you possibly give me a link or something in the directed fields? Thanks!



LinkBack URL
About LinkBacks


