I bought Deitel & Deitel - C: How to program

F

FSX

Hello everyone,

I have bought the book in its 3rd edition (I am only interested in the C
part so I bought one used) and I am very satisfied!

Greets,

FSX

Posted using www.webuse.net
 
F

FSX

Richard Heathfield said:
FSX said:


It's an excellent book. (I have the fifth edition.) The extraneous
material in the back strikes me as being an unnecessary waste of
paper, but the C material is very good indeed - and there are
plenty of high quality exercises.

The only problem is that the book uses scanf for the examples and I have
read that it's better to use fgets() and strtol() which I have found to be
too complex for me to understand at the moment...

Posted using www.webuse.net
 
F

FSX

Richard Heathfield said:
FSX said:


I think of scanf as being a rather advanced and esoteric function,
difficult to use correctly and in some ways less flexible than it
looks at first sight (although, in other ways, *more* flexible!). I
am at a loss to know why it is used so often in introductory texts,
especially early on - but they all do it (except K&R, who only
mention it once in passing before introducing it in section 7.4,
the seventh chapter of their eight-chapter tutorial).

I believe it's so often used because of its apparent simplicity (it's just
like an INPUT command from BASIC at first sight), so novices like me can do
basic input without pretending to know anything else. But as soon as I will
get the grasp I will use fgets() and strtol() (which now for me are rather
obscure)...

Posted using www.webuse.net
 
K

Keith Thompson

FSX said:
I have bought the book in its 3rd edition (I am only interested in the C
part so I bought one used) and I am very satisfied!

Uh, right. Please don't discuss pirated material here.
 

Ask a Question

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.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top