How to make 2 functions : "printf" and "scanf" in C ??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zerozone
    New Member
    • Dec 2007
    • 1

    How to make 2 functions : "printf" and "scanf" in C ??

    I mean : How can C write these functions... I would like to know it, so you can show me where can I find about this infomation ?
  • smalpani
    New Member
    • Aug 2007
    • 29

    #2
    Originally posted by Zerozone
    I mean : How can C write these functions... I would like to know it, so you can show me where can I find about this infomation ?

    first try if you do getchar(c) and putchar(c)

    rest is easy

    Comment

    • oler1s
      Recognized Expert Contributor
      • Aug 2007
      • 671

      #3
      Certain compilers are open source. gcc is pretty well known. Have you looked at any source code?

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        smalpani-

        Please check your Private Messages, accessible through the PM's link on the top right corner of the page.

        Thanks,

        sicarie

        Comment

        Working...