Comment on Tutorial - Simple arithmetic calculations in C By Jeffrey



Comment Added by : Fred Mah

Comment Added at : 2012-09-22 07:40:27

Comment on Tutorial : Simple arithmetic calculations in C By Jeffrey
Dear Gurus, I have arrived at your site lloking for an understanding of scanf and printf. To my horror at first sight the assosciated characters d i o u x c s e,f,g % are used with the assumption that to discuss them and how to use them is so basic that they are not discussed.
In embedded applications e.g. pic uCs I program quite well in integer arithmetic. This of course has a big problem when you want decimals. Eg. 355/113 is a good approximation to PI. There are work arounds to preserve the decimals, but C as used in uC would seem to be a better way.
Which brings me back to the C language and scanf, printf....
where do I find an article which step by step shows the usage of the formaters , hopefully with examples?
Bye and thanks
Fred
Madrid


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hello,
could you send me the complete code

View Tutorial          By: Sanjay at 2013-04-19 07:28:12

2. This is very good article.
View Tutorial          By: Vipin Joshi at 2008-03-27 13:53:26

3. hi,
i use spinner concept in my project but

View Tutorial          By: lavanya at 2013-03-01 06:25:01

4. thanksssssssssssss
View Tutorial          By: gajender sharma at 2015-02-02 09:15:05

5. hi

im trying to run this project an

View Tutorial          By: VoyRufino at 2010-01-26 10:03:11

6. Great job!
Lot of things cleared...

View Tutorial          By: alok at 2009-03-18 10:45:25

7. I need a sample example using checkbox in struts.t
View Tutorial          By: Nandhu at 2011-02-25 07:45:39

8. Very Useful tutorial for beginners.. Thanx
View Tutorial          By: Rohini at 2010-02-23 23:16:16

9. the example program that given above for recursion
View Tutorial          By: bharathi at 2012-07-17 09:31:14

10. hi,

i have a problem. I have the ti

View Tutorial          By: Felipe at 2010-02-18 05:03:51