SORU
9 NİSAN 2009, PERŞEMBE


Büyük Harf C bir Dize dönüştürmek

Nasıl bir büyük harf bir dize dönüştürmek olabilir. Googling dan bulduğum örnekler sadece karakter ile uğraşmak zorunda.

CEVAP
9 NİSAN 2009, PERŞEMBE


Boost string algoritmaları:

#include <boost/algorithm/string.hpp>
#include <string>

std::string str = "Hello World";

boost::to_upper(str);

std::string newstr = boost::to_upper_copy<std::string>("Hello World");

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • boogie2988

    boogie2988

    6 NİSAN 2006
  • Doug Bernards

    Doug Bernard

    7 Kasım 2007
  • vgeller1

    vgeller1

    22 Kasım 2009