By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,404 Members | 1,037 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,404 IT Pros & Developers. It's quick & easy.

hi, i need some help, i am new user of this group.

P: 2
hi,
please check this code and tell me how can i print the values of tokenizer.getStringAt(0) and (1) and (2).
tell me that how can i print individual content of a string?


cecTokenizer tokenizer(vStr.begin()->c_str());

if (pStrName != NULL)
{
*pStrName = tokenizer.getStringAt(0);
}

cecStrncpy(version, tokenizer.getStringAt(1), sizeof(version));
cecRemoveTrailingSubStringIf(version, ":");

*pStrVersion = version;

if (pStrReleaseDate != NULL)
{
*pStrReleaseDate = tokenizer.getStringAt(2);
}

return MGGRC_SUCCESS;
}
Jun 7 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.