Thread: putchar

  1. #16
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Hmm just look at the EBCDIC table and I also noticed that all the alpha numeric characters were >127 unlike ascii where everything is <= 127. Salem do you know if on the EBCDIC a char is an unsigned char?

  2. #17
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Both ASCII and EBCDIC codes are unsigned.

  3. #18
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    hey guys,
    what does all these mean?

  4. #19
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    It means that to print a newline character you can do putchar('\n');

    But I think more importantly is, what was actually your original question? It still hasn't been made clear.
    If you understand what you're doing, you're not learning anything.

  5. #20
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    i think you must add the c integer in the putchar(c'\n'); too
    like above writed

  6. #21
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Do you even think about trying stuff before speaking?

  7. #22
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    This is done

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. temperature sensors
    By danko in forum C Programming
    Replies: 22
    Last Post: 07-10-2007, 07:26 PM
  2. Putchar() to print an integer value?
    By swgh in forum C Programming
    Replies: 2
    Last Post: 05-19-2007, 12:30 PM
  3. array help
    By 1rwhites in forum C Programming
    Replies: 17
    Last Post: 11-09-2005, 04:10 PM
  4. crazy triangles
    By markg in forum C Programming
    Replies: 3
    Last Post: 10-24-2005, 12:50 PM
  5. Text based frame in win32 console
    By GaPe in forum C Programming
    Replies: 8
    Last Post: 04-16-2002, 07:01 AM