Rockbox Ports are now being developed for various digital audio players!
int file = rb->open("filename",?) ; // the ? is the flag for the opening mode, look in other plugins for the right flag for youchar buffer[100];while(rb->readline(file,buffer,100) != ??? ) //search other plugins for the right abort condition{ char* pos = rb->strcasestr(buffer,"Search string"); if(pos != 0) //check if it is really 0 if the string is not found { // string found //do something on the buffer }}
for (int i = 0; i < stringlength; i++) if (string\[i\] == ':') splitpoint = i;
Page created in 0.09 seconds with 21 queries.