Printing on the console

This is a discussion on Printing on the console within the C Programming forums, part of the General Programming Boards category; hi is it possible to print on the console without using printf() function?? how can we do that?? thanx balu.m...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    1

    Printing on the console

    hi

    is it possible to print on the console without using printf() function?? how can we do that??

    thanx
    balu.m

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    puts.

  3. #3
    Registered User coolshyam's Avatar
    Join Date
    Mar 2005
    Posts
    26

    Red face Several

    u can use puts
    u can use putc
    u can use putchar
    u can use assembly code asm
    u can define your own printf
    e.g. #define yourname printf
    u can write to the VDU yourself

    any questions any type in programming

    a ready made answer
    -----------------------------------------------------------------------------------
    FORTUNE FAVOURS THE BOLD!
    -----------------------------------------------------------------------------------

  4. #4
    Registered User
    Join Date
    Apr 2004
    Posts
    173
    fprintf()
    fputc()
    putc()
    putchar()
    fputs()

    Just to name a few, you need to specify the 'stdout' stream for the "f" class of functions.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Moving the Console Cursor & Printing In Color
    By Adak in forum C Programming
    Replies: 0
    Last Post: 03-09-2009, 11:31 AM
  2. Printing Unicode to console
    By jw232 in forum Windows Programming
    Replies: 7
    Last Post: 02-22-2009, 10:41 PM
  3. Bitmap Printing In Console C++
    By LostNotFound in forum Windows Programming
    Replies: 1
    Last Post: 03-10-2003, 07:14 AM
  4. Printing in Linux console (Epson LQ-300+)
    By zahid in forum Linux Programming
    Replies: 0
    Last Post: 02-17-2003, 10:13 PM
  5. Printing In Console C++
    By LostNotFound in forum C++ Programming
    Replies: 1
    Last Post: 02-15-2003, 04:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21