Convert String To Lowercase

in Hindi - Convert String To Lowercase



not yet

Source Code :

RUN#include <iostream>
#include <locale.h>
#include <string.h>
using namespace std;

int main ()
{
string str="HELLO FRIENDS !";
locale l;

for (size_t i=0; i<str.length(); i++)
cout << tolower(str[i],l);

return 0;
}