#include <iostream>
#include <string>

void toUpper( std::string &name )
{
	for( int i = 0; name[i]; ++i )
    if( name[i] >= 'a' && name[i] <= 'z' )
        name[i] -= ' ';
}

int main()
{
	std::string str = "Ideone is an online compiler and debugging tool"
	"which allows you to compile source code and execute it online in"
	" more than 60 programming languages.";
	toUpper( str );
	
	std::cout << str << std::endl;
	return 0;
}