C is a good language to learn. It was designed to do a very different job from most modern languages and the key to understanding it is not to just understand the code, but how this relates to the hardware.
Fundamental C takes an approach that is close to the hardware, introducing addresses, pointers, and how things are represented using binary. An important idea is that everything is a bit pattern and what it means can change. As a C developer you need to think about the way data is represented, and Harry Fairhead encourages this. He emphasizes the idea of modifying how a bit pattern is treated using type punning and unions. This power brings with it the scourge of the C world – undefined behavior - which is ignored in many books on C. Here, not only is it acknowledged, it is explained together with ways to avoid it.
A particular feature of the book is the way C code is illustrated by the assembly language it generates. This helps you understand why C is the way it is.
For beginners, the book covers installing an IDE and GCC before writing a Hello World program and then presents the fundamental building blocks of any program - variables, assignment and expressions, flow of control using conditionals and loops.
Once the essentials are in place, data types are explored before looking at arithmetic and representation. Harry then goes deeper into evaluating expressions before looking at functions and their scope and lifetime. Arrays, strings, pointers and structs are covered in separate chapters, as is bit manipulation, a topic that is key to using C, and the idea of a file as the universal approach to I/O. Finally, he looks at the four stages of compilation of a C program, the use of static and dynamic libraries and make.
This is C as it was always intended to be written - close to the metal.
Harry Fairhead has a hardware background and, having worked with microprocessors and electronics in general, for many years, he is an enthusiastic proponent of the IoT. His recent titles include Raspberry Pi IoT in C and Micro:bit IoT in C. His next, Applying C For The IoT With Linux at intermediate/advanced level is intended as a companion to this book for those working in a Linux/POSIX environment, in particular the Raspberry Pi.
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
Anbieter: Bay State Book Company, North Smithfield, RI, USA
Zustand: very_good. Bestandsnummer des Verkäufers BSM.13TRB
Anzahl: 1 verfügbar
Anbieter: PlumCircle, West Mifflin, PA, USA
paperback. Zustand: New. New item in gift quality condition. 99% of orders arrive in 4-10 days. Discounted shipping on multiple books. Bestandsnummer des Verkäufers mon0001361423
Anbieter: Textbooks_Source, Columbia, MO, USA
paperback. Zustand: Good. Ships in a BOX from Central Missouri! May not include working access code. Will not include dust jacket. Has used sticker(s) and some writing or highlighting. UPS shipping for most packages, (Priority Mail for AK/HI/APO/PO Boxes). Bestandsnummer des Verkäufers 006655420U
Anzahl: 1 verfügbar
Anbieter: BargainBookStores, Grand Rapids, MI, USA
Paperback or Softback. Zustand: New. Fundamental C: Getting Closer To The Machine. Book. Bestandsnummer des Verkäufers BBS-9781871962604
Anbieter: California Books, Miami, FL, USA
Zustand: New. Bestandsnummer des Verkäufers I-9781871962604
Anzahl: Mehr als 20 verfügbar
Anbieter: Rarewaves USA, OSWEGO, IL, USA
Paperback. Zustand: New. Bestandsnummer des Verkäufers LU-9781871962604
Anzahl: Mehr als 20 verfügbar
Anbieter: Rarewaves.com USA, London, LONDO, Vereinigtes Königreich
Paperback. Zustand: New. Bestandsnummer des Verkäufers LU-9781871962604
Anzahl: Mehr als 20 verfügbar
Anbieter: THE SAINT BOOKSTORE, Southport, Vereinigtes Königreich
Paperback / softback. Zustand: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days. Bestandsnummer des Verkäufers C9781871962604
Anzahl: Mehr als 20 verfügbar
Anbieter: Rarewaves USA United, OSWEGO, IL, USA
Paperback. Zustand: New. Bestandsnummer des Verkäufers LU-9781871962604
Anzahl: Mehr als 20 verfügbar
Anbieter: moluna, Greven, Deutschland
Kartoniert / Broschiert. Zustand: New. Bestandsnummer des Verkäufers 905710414
Anzahl: Mehr als 20 verfügbar