N
newby2c
[ big snip ]
Thanks for the input. There's quite a bit of valuable info there.
newby2c
Thanks for the input. There's quite a bit of valuable info there.
newby2c
Emmanuel Delahaye said:I still don't understand why book writers do continue to teach scanf()
before gets()... Kinda mystery to me...
You mean fgets() rather than gets(), right?
Emmanuel Delahaye said:Why using 'float' instead of 'double' ?
Bare in mind that this 'trick' is due to your C implementation.
IMHO, It is best to avoid both 'float' and 'double' when
dealing with money.
Bear
K. G. Suarez said:I am new to programming and my uncle gave me a copy of
"C For Dummies 2nd Edition".
But how much will this book teach me?
What would be the next book to read?
Any float
will be converted to a double (with a cost in terms of code space and CPU
time) before being processed (computing, function parameter etc.).
[>Someone else wrote:]kal wrote on 27/07/04 :
What do you suggest instead ? Change rates are far to be integer
expressions! ^^^^^^^^^
Euclid's books, I to XIII.
Off you go, then. Don't forget your coat. \ roasts a troll in CLCIf someone is unwilling to accept those requirements ... they may be
better off just leaving. \ --Richard Heathfield
K. G. Suarez said:Thank you, Bernhard. I will keep that in mind
Try bash. It's very useful for system administration and contains
many of the basic constructs found in C. (or any programming language).
I like how he blames in on linux.
I suggest that you don't read "C For Dummies". It has the potential
to mislead you.
I am basing this statement based on the author's VERY confused
rambling in:
http://www.c-for-dummies.com/lessons/linux/01/index.html
He shows a program that compiles and runs under Windows but
crashes under Linux. He appears to puzzled why this happens.
His problem is that he is trying to modify a string literal.
Orhan said:I love his honesty, yet he seems to be a bit ignorant, for the
"reader"'s message is much more correct. Should we compile and
send an explanation to him?
Did anybody check if there's a footnote or such a thing which
mentions that the book is only for use on M$ Win... systems?
Randy said:Isn't the term "for dummies" and "for use on "M$ Win" functionally
equivalent?
Only if you write dumb programs.
"I have a plan so cunning, you could put a tail on it and call it a weasle"
Randy said:I'll take your word for it.
You mean weasel?
weasel"RCollins said:Good catch! I've been using that sig for over a year, and nobody
noticed my goof -- or, at least, they didn't say anything.
Mabden said:weasel"
Shouldn't you credit Blackadder?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.