Foto de l'autor

Steve Oualline

Autor/a de Practical C++ Programming

23 obres 1,026 Membres 6 Ressenyes

Sobre l'autor

Steve Oualline is a software engineer specializing in C++ programming and Linux.

Inclou el nom: S.. Oualline

Obres de Steve Oualline

Etiquetat

Coneixement comú

Data de naixement
1955-07-07
Gènere
male
Nacionalitat
USA

Membres

Ressenyes

Indeholder "Preface", "How This Book is Organized", "Chapter by Chapter", "Notes on the Third Edition", "Font Conventions", "Obtaining Source Code", "Comments and Questions", "Acknowledgments", "Acknowledgments to the Third Edition", "I. Basics", " 1. What Is C?", " How Programming Works", " Brief History of C", " How C Works", " How to Learn C", " 2. Basics of Program Writing", " Programs from Conception to Execution", " Creating a Real Program", " Creating a Program Using a Command-Line Compiler", " Creating a Program Using an Integrated Development Environment", " Getting Help on UNIX", " Getting Help in an Integrated Development Environment", " IDE Cookbooks", " Programming Exercises", " 3. Style", " Common Coding Practices", " Coding Religion", " Indentation and Code Format", " Clarity", " Simplicity", " Summary", " 4. Basic Declarations and Expressions", " Elements of a Program", " Basic Program Structure", " Simple Expressions", " Variables and Storage", " Variable Declarations", " Integers", " Assignment Statements", " printf Function", " Floating Point", " Floating Point Versus Integer Divide", " Characters", " Answers", " Programming Exercises", " 5. Arrays, Qualifiers, and Reading Numbers", " Arrays", " Strings", " Reading Strings", " Multidimensional Arrays", " Reading Numbers", " Initializing Variables", " Types of Integers", " Types of Floats", " Constant Declarations", " Hexadecimal and Octal Constants", " Operators for Performing Shortcuts", " Side Effects", " ++x or x++", " More Side-Effect Problems", " Answers", " Programming Exercises", " 6. Decision and Control Statements", " if Statement", " else Statement", " How Not to Use strcmp", " Looping Statements", " while Statement", " break Statement", " continue Statement", " Assignment Anywhere Side Effect", " Answer", " Programming Exercises", " 7. Programming Process", " Setting Up", " Specification", " Code Design", " Prototype", " Makefile", " Testing", " Debugging", " Maintenance", " Revisions", " Electronic Archaeology", " Marking Up the Program", " Using the Debugger", " Text Editor as a Browser", " Add Comments", " Programming Exercises", "II. Simple Programming", " 8. More Control Statements", " for Statement", " switch Statement", " switch, break, and continue", " Answers", " Programming Exercises", " 9. Variable Scope and Functions", " Scope and Class", " Functions", " Functions with No Parameters", " Structured Programming", " Recursion", " Answers", " Programming Exercises", " 10. C Preprocessor", " #define Statement", " Conditional Compilation", " include Files", " Parameterized Macros", " Advanced Features", " Summary", " Answers", " Programming Exercises", " 11. Bit Operations", " Bit Operators", " The and Operator (&)", " Bitwise or (|)", " The Bitwise Exclusive or (^)", " The Ones Complement Operator (Not) (~)", " The Left- and Right-Shift Operators (<<, >>)", " Setting, Clearing, and Testing Bits", " Bitmapped Graphics", " Answers", " Programming Exercises", " 12. Advanced Types", " Structures", " Unions", " typedef", " enum Type", " Casting", " Bit Fields or Packed Structures", " Arrays of Structures", " Summary", " Programming Exercises", " 13. Simple Pointers", " Pointers as Function Arguments", " const Pointers", " Pointers and Arrays", " How Not to Use Pointers", " Using Pointers to Split a String", " Pointers and Structures", " Command-Line Arguments", " Programming Exercises", " Answers", " 14. File Input/Output", " Conversion Routines", " Binary and ASCII Files", " The End-of-Line Puzzle", " Binary I/O", " Buffering Problems", " Unbuffered I/O", " Designing File Formats", " Answers", " Programming Exercises", " 15. Debugging and Optimization", " Debugging", " Interactive Debuggers", " Debugging a Binary Search", " Runtime Errors", " The Confessional Method of Debugging", " Optimization", " Answers", " Programming Exercises", " 16. Floating Point", " Floating-Point Format", " Floating Addition/Subtraction", " Multiplication", " Division", " Overflow and Underflow", " Roundoff Error", " Accuracy", " Minimizing Roundoff Error", " Determining Accuracy", " Precision and Speed", " Power Series", " Programming Exercises", "III. Advanced Programming Concepts", " 17. Advanced Pointers", " Pointers and Structures", " free Function", " Linked List", " Structure Pointer Operator", " Ordered Linked Lists", " Double-Linked Lists", " Trees", " Printing a Tree", " Rest of Program", " Data Structures for a Chess Program", " Answers", " Programming Exercises", " 18. Modular Programming", " Modules", " Public and Private", " The extern Modifier", " Headers", " The Body of the Module", " A Program to Use Infinite Arrays", " The Makefile for Multiple Files", " Using the Infinite Array", " Dividing a Task into Modules", " Module Division Example: Text Editor", " Compiler", " Spreadsheet", " Module Design Guidelines", " Programming Exercises", " 19. Ancient Compilers", " K&R-Style Functions", " Library Changes", " Missing Features", " Free/Malloc Changes", " lint", " Answers", " 20. Portability Problems", " Modularity", " Word Size", " Byte Order Problem", " Alignment Problem", " NULL Pointer Problem", " Filename Problems", " File Types", " Summary", " Answers", " 21. C's Dustier Corners", " do/while", " goto", " The ?: Construct", " The , Operator", " volatile Qualifier", " Answer", " 22. Putting It All Together", " Requirements", " Specification", " Code Design", " Coding", " Functional Description", " Expandability", " Testing", " Revisions", " A Final Warning", " Program Files", " Programming Exercises", " 23. Programming Adages", " General", " Design", " Declarations", " switch Statement", " Preprocessor", " Style", " Compiling", " Final Note", " Answer", "IV. Other Language Features", " A. ASCII Table", " B. Ranges and Parameter Passing Conversions", " C. Operator Precedence Rules", " D. A Program to Compute a Sine Using a Power Series", "Glossary", "Index".

Jeg plejer at sige, at jeg ikke vil programmere i et sprog, der er lavet af folk, der hedder Dennis og Brian. Men det er nok mere, fordi jeg ikke har brug for at programmere så maskinnært. Jeg vil hellere kunne regne med lange heltal uden videre end fedte med assembler-lignende sprog.
… (més)
 
Marcat
bnielsen | Mar 12, 2023 |
 
Marcat
NachoSeco | Oct 10, 2022 |
I almost want to consider this essential reading for 'real C programming.'

The exercises aren't about bad programming practice, they instead are about highlighting common misunderstandings about what certain C phrases actually mean, and how C 's hands-off approach to system internals sometimes bites you.

Some of the hints were frustrating, but mostly because they were stressing the system-dependant nature of portability and lower-level issues. Most of the time, by the second or third hint I had enough clues to figure out what was going on.

I couldn't find source files online, which was disappointing ... not all of the code fragments would have been best attacked via compiler and debugger, but having the opportunity to do so conveniently would have been nice.

There were chapters on portability and concurrency, which make for good primers on underrated but very imporant subjects in general. It's not the book's job to introduce further resources on the subjects, but some explicit emphasis on the importance of the subjects would have been nice (although I suppose you could say that having ful chapters on the subject would imply this.)
… (més)
 
Marcat
NaleagDeco | Dec 13, 2020 |
I am a Vim fan. Even when I write code in Eclipse I try to do it the vi(m) way as much as possible. I don’t recommend reading this book in one go. Rather I suggest reading a bit and then trying out what you read.
 
Marcat
IvanIdris | Dec 26, 2011 |

Potser també t'agrada

Estadístiques

Obres
23
Membres
1,026
Popularitat
#25,103
Valoració
½ 3.5
Ressenyes
6
ISBN
34
Llengües
6

Gràfics i taules