Re: C++ code needed!!!!!!!!!!!!!!!?
Posted: Tue Nov 23, 2010 1:59 pm
there are different ways, one would be to make a loop and replace the lower case character with its uppercase one and vice versa (as each character is basically just an ASCII / Unicode number)
another way would be to use already available functions toupper() tolower()
and if you want you could also take a look at the Boost Lib which offer those functions in real C++ OOP syntax
http://www.boost.org/doc/libs/1_45_0/do ... lower.html
http://www.boost.org/doc/libs/1_45_0/do ... upper.html
another way would be to use already available functions toupper() tolower()
and if you want you could also take a look at the Boost Lib which offer those functions in real C++ OOP syntax
http://www.boost.org/doc/libs/1_45_0/do ... lower.html
http://www.boost.org/doc/libs/1_45_0/do ... upper.html