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
C++ code needed!!!!!!!!!!!!!!!?
- Datastream
- Donator
- Posts: 870
- Joined: Thu Dec 24, 2009 1:24 pm
Re: C++ code needed!!!!!!!!!!!!!!!?
This thread dun goofed. Who are you talkin to?