Convert String To Uppercase

in Hindi - Convert String To Uppercase



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 << toupper(str[i],l);

return 0;
}