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



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. Thanks a lot!!!

Its very useful exp

View Tutorial          By: dipali at 2012-12-31 06:49:41

2. it is really best site for the information.many ti
View Tutorial          By: panchanan ruata at 2013-05-22 09:36:37

3. when i trying to build the above program it is giv
View Tutorial          By: bhagyalaxmi at 2008-10-10 23:45:45

4. To 15:
Sometimes it is useful to return the

View Tutorial          By: Anderson Goulart at 2010-08-24 19:15:14

5. this helped a lot!!!!
View Tutorial          By: karthik rk at 2012-09-04 16:32:25

6. Change the line from
imgView.setBackgroundR

View Tutorial          By: laki at 2012-05-02 08:59:25

7. Awesome, I am Impressed with the way the example h
View Tutorial          By: Darshan at 2010-07-09 01:34:22

8. what does argc means?
View Tutorial          By: Don Panganiban at 2009-10-09 21:19:48

9. How do i get tht GSM Connection .Can any one give
View Tutorial          By: srinivas raju at 2008-08-08 02:50:02

10. Please help I want to map the data say username an
View Tutorial          By: akshat at 2011-07-25 12:49:06