Kenneth leroy busbee programming fundamentals a modular structured approach using c++

331 223 0
Kenneth leroy busbee   programming fundamentals a modular structured approach using c++

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Đây là quyển sách tiếng anh về lĩnh vực công nghệ thông tin cho sinh viên và những ai có đam mê. Quyển sách này trình về lý thuyết ,phương pháp lập trình cho ngôn ngữ C và C++.

Programming Fundamentals - A Modular Structured Approach using C++ By: Kenneth Leroy Busbee Programming Fundamentals - A Modular Structured Approach using C++ By: Kenneth Leroy Busbee Online: < http://cnx.org/content/col10621/1.20/ > C O N N E X I O N S Rice University, Houston, Texas [...]... module and function We are going to use the term function for that is what they are called in the two predominant programming languages of today: C++ and Java Functions are important because they allow us to take large complicated programs and to divide them into smaller manageable pieces Because the function is a smaller piece of the overall program, we can concentrate on what we want it to do and test... that program Depending on the programming language, there is a formal way to: 1 dene a function (it's 2 denition or the code it will execute) call a function 3 declare a function (a prototype is a declaration to a complier) Program Control functions normally do not communicate information to each other but use a common area for variable storage Specic Task functions are constructed so that data can... communicated between the calling program piece (which is usually another function) and the function being called This ability to communicate data is what allows us to build a specic task function that may be used in many programs The rules for how the data is communicated in and out of a function vary greatly by programming language, but the concept is the same The data items passed (or communicated) are... structured Approach using C++, by: Behrouz A Forouzan et al., 2 1 Starting Out with C++ Early Objects, by: Tony Gaddis et al., 6 ISBN: 0-534-37480-8 These textbooks are typically available in the used textbook market at a reasonable price any one of the three books If you acquire one of the above You may use optional traditional textbooks, you may want to download and store the following le to your storage... programmers would be assigned to program within the application write the specic programs using a programming language decided by the System Analyst Once the system of programs is tested the new application is installed for people to use As time goes by, things change and a specic part or program might need repair During the Maintenance phase, it goes through a mini planning, analysis, design and... Computer Games" software you might buy at any of several retail stores This is an entertainment application, that is we are applying the computer to do a task (entertain you) The software actually consists of many dierent programs (checkers, chess, tic tac toe, etc.) that were most likely written by several dierent programmers Computer professionals that are in charge of creating applications often have... usually consist of many programs An a major task (referred to as an application) example would be the Department of Defense supply system, the customer system used at your local bank, the repair parts inventory system used by car dealerships There are thousands of applications that use an information system created just to help solve a business problem Another example of an information system would... running your program the black screen box goes away CHAPTER 1 1 INTRODUCTION TO PROGRAMMING 26 1.3 Modularization and C++ Program Layout6 1.3.1 Concept of Modularization One of the most important concepts of programming is the ability to group some lines of code into a unit that can be included in our program The original wording for this was a sub-program Other names include: macro, sub-routine,... Topics 17-21 17 Advanced Topics 22-24 11 Review Materials N /A 5 Appendix N /A 7 Total Modules N /A 120 Table 1 Some professors using this textbook/collection might decide to eliminate certain modules or chapters Some may eliminate the entire Advanced Topics group Other professors may choose to add additional study materials The advantage of this textbook/collection is that it may be adapted by professors... implementation The programs that need modication are identied and programmers change or repair those programs After several years of use, the system usually becomes obsolete At this point a major revision of the application is done Thus the cycle repeats itself 1.1.2 Denitions Denition 1.1: system analyst Computer professional in charge of creating applications Denition 1.2: applications An information . Programming Fundamentals - A Modular Structured Approach using C++ By: Kenneth Leroy Busbee Programming Fundamentals - A Modular Structured Approach using. h4" alt=""

Ngày đăng: 19/03/2014, 14:10

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan