Thread: Confused by CHAR

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    932

    Confused by CHAR

    I saw in a code the datatype CHAR (with uppercase).

    I checked on MSDN and it says
    "A string function that converts an int ASCII code to a character."

    PHP Code:
    http://msdn.microsoft.com/en-us/library/aa258239(SQL.80).aspx 

    Code:
    CHAR* m_cCompleteBuffer = new CHAR [2096];
    So how can it be a data type and a function at the same time?
    Or is it the same as char (with lowercase)?
    Last edited by Ducky; 04-13-2009 at 08:53 AM.
    Using Windows 10 with Code Blocks and MingW.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Conversion Char To Char * Problem
    By ltanusaputra in forum Windows Programming
    Replies: 3
    Last Post: 03-01-2008, 02:06 PM
  2. Replies: 16
    Last Post: 10-29-2006, 05:04 AM
  3. newbie needs help with code
    By compudude86 in forum C Programming
    Replies: 6
    Last Post: 07-23-2006, 08:54 PM
  4. String sorthing, file opening and saving.
    By j0hnb in forum C Programming
    Replies: 9
    Last Post: 01-23-2003, 01:18 AM
  5. Extra printed stmts...why?
    By mangoz in forum C Programming
    Replies: 4
    Last Post: 12-19-2001, 07:56 AM