Thread: making lowercase??/

  1. #1
    Unregistered
    Guest

    Question making lowercase??/

    how can u convet a char array to lowercase letters keeping other caracters intact??

    is their any premade functions or do u have to make ur own??

    all i can find is one which takes and returns an int

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> all i can find is one which takes and returns an int

    So use a cast? (I'm guessing your looking at tolower() etc.).
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    That's the one you want - just put a char in there and you'll be fine. That only turns one character at a time lowercase, so you'll have to loop through the array.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making sprites
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 02-20-2010, 07:00 AM
  2. Making folder name lowercase
    By fanoliv in forum C Programming
    Replies: 4
    Last Post: 06-21-2006, 01:33 PM
  3. Making great graphics
    By MadCow257 in forum Game Programming
    Replies: 1
    Last Post: 02-20-2006, 11:59 PM
  4. Making control...
    By Finchie_88 in forum C++ Programming
    Replies: 2
    Last Post: 09-07-2004, 01:42 PM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 07:37 AM