Function to convert all of the small letters to the capital?

Discussion in 'C++' started by Ebi, Feb 5, 2005.

  1. Ebi

    Ebi Guest

    Hi
    I'm writing a project in C++ borland 5;
    and I need a function that get a string or char* variable and convert
    all of the small letters to the capital.
    please help me.
    --
    Sincerely Yours
    Ebrahim Khademi
     
    Ebi, Feb 5, 2005
    #1
    1. Advertisements

  2. Ebi wrote:
    >
    > I'm writing a project in C++ borland 5;
    > and I need a function that get a string or char* variable
    > and convert all of the small letters to the capital.


    > man toupper

    TOUPPER(3) Linux Programmer’s Manual TOUPPER(3)

    NAME
    toupper, tolower - convert letter to upper or lower case

    SYNOPSIS
    #include <ctype.h>

    int toupper(int c);
    int tolower(int c);

    DESCRIPTION
    toupper() converts the letter c to upper case, if possible.

    tolower() converts the letter c to lower case, if possible.

    If c is not an unsigned char value, or EOF,
    the behaviour of these functions is undefined.
     
    E. Robert Tisdale, Feb 5, 2005
    #2
    1. Advertisements

  3. Ebi wrote:
    > Hi
    > I'm writing a project in C++ borland 5;
    > and I need a function that get a string or char* variable and convert
    > all of the small letters to the capital.
    > please help me.
    > --
    > Sincerely Yours
    > Ebrahim Khademi



    use to toupper
     
    puzzlecracker, Feb 5, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rh0dium

    Convert from numbers to letters

    rh0dium, May 19, 2005, in forum: Python
    Replies:
    30
    Views:
    26,004
    Bill Mill
    May 20, 2005
  2. Merrigan
    Replies:
    4
    Views:
    753
    Chris
    Dec 14, 2007
  3. Eric Wertman
    Replies:
    2
    Views:
    466
  4. Samuel van Laere

    Capital or small caps

    Samuel van Laere, Jun 13, 2009, in forum: HTML
    Replies:
    4
    Views:
    1,534
    Harlan Messinger
    Jun 14, 2009
  5. Miguel Orrego

    Capital Letters

    Miguel Orrego, Aug 19, 2003, in forum: ASP General
    Replies:
    6
    Views:
    477
    Dave Anderson
    Aug 20, 2003
  6. Ralph Shnelvar

    Splitting on capital letters

    Ralph Shnelvar, Dec 8, 2010, in forum: Ruby
    Replies:
    12
    Views:
    601
    Robert Klemme
    Dec 9, 2010
  7. Keith Bowes

    Avoid All Capital Letters in Guestbook

    Keith Bowes, Jan 6, 2004, in forum: Javascript
    Replies:
    4
    Views:
    1,155
    Thomas 'PointedEars' Lahn
    Jan 15, 2004
  8. Venugopal
    Replies:
    11
    Views:
    2,378
    Tassilo v. Parseval
    Nov 5, 2003
Loading...