How can i print a restricted word like "%"? _________________ Eng. Haytham Shyouk
B.A. Electronics Engineering
dyeatman
Joined: 06 Sep 2003 Posts: 1924 Location: Norman, OK
Posted: Fri Dec 04, 2009 2:41 pm
I assume you want to use printf?
You need to get you a copy of the C language manual or use the available search tools like Google. Or better yet, read about printf() in the CCS Manual on page 199 that says:
A %% will output a single %. _________________ Google and Forum Search are some of your best tools!!!!
Joined: 06 Sep 2003 Posts: 1924 Location: Norman, OK
Posted: Fri Dec 04, 2009 2:45 pm
PCM,
Thats a really nice concise document on Printf.
Did you already know about it or find it with Google? _________________ Google and Forum Search are some of your best tools!!!!
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Dec 04, 2009 2:47 pm
I found it with Google after a few minutes of searching for something
that was good.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum