C++ Program Enter string and convert it to upper case
here is the link...
http://cbtsam.com/cppl2/cbtsam-cppl2-142.php
// WAP a program to enter string including spaces in C++ and convert it to UPPER Case without using built-in Function. For eg. cbtsam -> CBTSAM
#include <iostream.h>
#include <conio.h>
#include <string.h>
void main()
{
char st[50];
cout<<"Enter String : ";
cin.getline(st,50);
int length=strlen(st);
for (int n=0;n<length;n++)
{ if (st[n]>=97)
cout<<char(st[n]-32);
else
cout<<st[n];
}
}