Thread: Changing letter case

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    32

    Changing letter case

    How could I change a lower case letter in a string to an upper case letter
    I am a C++ newb
    using: Visual C++ 6.0
    thanx for any Help

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    toupper( )

    Look in your docs regarding the 'ctype.h' header.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    32
    wut docs are u referring to
    I am a C++ newb
    using: Visual C++ 6.0
    thanx for any Help

  4. #4
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    If you look in the directory your compiler is in, you will find a folder called "include" or something. Go into that folder and you will notice at least 30 or more files with the ".h" extension. There are numerous library functions there at your disposal. To describe all of them here is beyond the scope of this post.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 03-05-2009, 11:32 AM
  2. get keyboard and mouse events
    By ratte in forum Linux Programming
    Replies: 10
    Last Post: 11-17-2007, 05:42 PM
  3. error with code
    By duffy in forum C Programming
    Replies: 8
    Last Post: 10-22-2002, 09:45 PM
  4. rand()
    By serious in forum C Programming
    Replies: 8
    Last Post: 02-15-2002, 02:07 AM