Thread: tolower()

  1. #1
    Registered User
    Join Date
    Aug 2014
    Posts
    47

    tolower()

    Can you give a simple program that uses tolower to convert strings into lowercase? Or simply just the general syntax of tolower pls. Can find it in google. Thanks

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,666
    Now that's what I call lazy.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Quote Originally Posted by Salem View Post
    Now that's what I call lazy.
    That is a generous description.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  4. #4
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    Quote Originally Posted by Moon River View Post
    Or simply just the general syntax of tolower pls. Can find it in google.
    man 3 tolower

    Shows you the manual page for that function which probably has an example too. This search also works in Google too to find lots of online versions.

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Or simply just the general syntax of tolower pls.
    Can find it in google.
    I love it when people can answer their own questions.

  6. #6
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Search Terms of "c++ tolower" gets me this link.

    tolower - C++ Reference
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tolower()
    By xniinja in forum C Programming
    Replies: 2
    Last Post: 12-01-2010, 09:57 PM
  2. tolower()
    By spikestar in forum C Programming
    Replies: 1
    Last Post: 01-11-2010, 06:32 AM
  3. how do you use tolower()
    By panfilero in forum C Programming
    Replies: 3
    Last Post: 11-03-2005, 01:18 PM
  4. Tolower
    By webren in forum C++ Programming
    Replies: 2
    Last Post: 04-09-2005, 08:17 PM
  5. tolower
    By Nicholas35 in forum C++ Programming
    Replies: 5
    Last Post: 02-07-2002, 04:28 PM