2011/1/7 Kai Tietz :
> 2011/1/7 ArbolOne :
>> Glib::ustring s("C/C++");
>> std::locale loc;
>>
>> for (Glib::ustring::iterator it=s.begin(); it!=s.end(); ++it) {
>> if (std::isalpha(*it,loc)) // <<<=== Here is the problem !!
>> {
>> std::cout << "it is alpha" <<
2011/1/7 ArbolOne :
> Glib::ustring s("C/C++");
> std::locale loc;
>
> for (Glib::ustring::iterator it=s.begin(); it!=s.end(); ++it) {
> if (std::isalpha(*it,loc)) // <<<=== Here is the problem !!
> {
> std::cout << "it is alpha" << std::endl;
> }
> I am
Glib::ustring s("C/C++");
std::locale loc;
for (Glib::ustring::iterator it=s.begin(); it!=s.end(); ++it) {
if (std::isalpha(*it,loc)) // <<<=== Here is the problem !!
{
std::cout << "it is alpha" << std::endl;
}
I am having serious problem trying to