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
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
2. There is no need to fight. ...whatever ku is sayin
View Tutorial By: saurabh at 2009-07-30 15:19:49
9. hi, this is a good example and this rely helpful i
View Tutorial By: Dhaval PATOLIYA at 2015-09-08 06:55:38
10. when i trying to build the above program it is giv
View Tutorial By: bhagyalaxmi at 2008-10-10 23:45:45