// String_Processingg.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> using namespace std; #include<stdio.h> #include<ctype.h> #include<string> #include <cstdlib> void upper(string t ); int _tmain(int argc, _TCHAR* argv[]) { char s[100]; while(gets(s)) { upper(s); puts(s); } return 0; } void upper(string t) { while(*t) *t=toupper(*t); t++; }
void upper(char *t );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)