Home > Community > Forums > PCB SKILL > how to print a special character using skill?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 how to print a special character using skill?  

Last post Thu, Nov 8 2012 1:17 PM by eDave. 1 replies.
Started by robin chu 07 Nov 2012 07:43 PM. Topic has 1 replies and 914 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Nov 7 2012 7:43 PM

    • robin chu
    • Not Ranked
    • Joined on Tue, Apr 17 2012
    • shanghai, Shanghai
    • Posts 10
    • Points 170
    how to print a special character using skill? Reply

    I currently have met a problem with printing a special character using skill. ex: π.

    pls help!!

    Filed under:
    • Post Points: 20
  • Thu, Nov 8 2012 1:17 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 687
    • Points 14,555
    Re: how to print a special character using skill? Reply

    You can print any ASCII character using printf. Pi is not among the available characters.

    printf("\343") prints ã

    Note that the number is Octal. 

    Dave Elder, Tait Communications
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by robin chu at 07 Nov 2012 07:43 PM. Topic has 1 replies.