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



Ask a Question

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. Good one. Keep up the good work.
View Tutorial          By: zubair at 2012-02-23 10:18:36

2. u said that const function cant change object.can
View Tutorial          By: z at 2010-05-09 12:02:17

3. my question is the same of sajjad.what about (!iss
View Tutorial          By: hossain at 2012-04-26 04:28:56

4. Excelente, y a pesar de que mi inglés
View Tutorial          By: Monica at 2009-03-24 13:53:51

5. hi,
my problem is.......
i use vb.ne

View Tutorial          By: Anirban at 2009-10-25 10:15:13

6. sir very well subject is to continuted the java s
View Tutorial          By: G.venkata siva naga kumar at 2009-11-06 01:13:02

7. i want diff example one.....

plz
View Tutorial          By: Santhosh at 2010-07-30 01:35:22

8. Verrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
View Tutorial          By: Amarnath.A at 2011-07-14 00:32:08

9. Realy good one
View Tutorial          By: Sabir at 2011-10-25 12:08:43

10. I find dis site very educating
View Tutorial          By: Kensho at 2009-05-09 05:18:57