This text provides a stepping-stone for intermediate-level students to go from writing short programs to writing real programs well. It shows students how to identify and eliminate bugs, write clean code, share code with others, and use standard Linux-based tools. It enhances their programming skills by explaining programming concepts and comparing common mistakes with correct programs. The book also discusses how to use debuggers and the strategies for debugging as well as studies the connection between programming and discrete mathematics.
This text provides a stepping-stone for intermediate-level students to go from writing short programs to writing real programs well. It shows students how to identify and eliminate bugs, write clean code, share code with others, and use standard Linux-based tools. It enhances their programming skills by explaining programming concepts and comparing common mistakes with correct programs. The book also discusses how to use debuggers and the strategies for debugging as well as studies the connection between programming and discrete mathematics.
Yung-Hsiang Lu is an associate professor in the School of Electrical and Computer Engineering at Purdue University. He is an ACM Distinguished Scientist and ACM Distinguished Speaker. He received a Ph.D. from the Department of Electrical Engineering at Stanford University.
Inhaltsangabe
COMPUTER STORAGE MEMORY AND FILE: Program Execution. Stack Memory. Prevent, Detect, and Remove Bugs. Pointer. Writing and Testing Programs. Strings. Programming Problems and Debugging. Heap Memory. Programming Problems. Reading and Writing Files. Programming Problems. RECURSION: Recursion. Recursive C Functions. Integer Partition. Programming Problems. STRUCTURE: Programmer-Defined Data Types. Programming Problems. Linked Lists. Programming Problems. Binary Search Trees. Parallel Programming Using Threads. APPLICATIONS: Finding the Exit of a Maze. Image Processing. Huffman Compression. Appendices. Index.