the development process compilation. compilation - dr. craig a. struble 2 programming process...
DESCRIPTION
Compilation - Dr. Craig A. Struble 3 Developing Programs in High-Level Languages Editor Source File Compiler Object File Linker Executable Loader Other Object FilesTRANSCRIPT
![Page 1: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/1.jpg)
The Development Process
Compilation
![Page 2: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/2.jpg)
Compilation - Dr. Craig A. Struble2
Programming Process
Problem Solving Phase
We will spend significant time on this next week.
Implementation Phase
• Create a concrete solution• Test your solution• Fix errors, add features, and test again.
![Page 3: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/3.jpg)
Compilation - Dr. Craig A. Struble3
Developing Programs in High-Level Languages
Editor Source File
Compiler Object File
Linker Executable
Loader
Other Object Files
![Page 4: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/4.jpg)
Compilation - Dr. Craig A. Struble4
Terminology
Source file– Text file containing computer program
Compiler– Program that translates high-level languages to
machine language Object file
– Machine language file generate by compiler
![Page 5: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/5.jpg)
Compilation - Dr. Craig A. Struble5
Terminology
Standard library– Object file containing standard features of high-level
languages Linker
– Program that combines several object files and standard libraries into an executable
Executable– A file containing the machine code that will run in an
operating system (e.g., Windows)
![Page 6: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/6.jpg)
Compilation - Dr. Craig A. Struble6
Terminology
Loader– A part of an operating system that places an
executable into memory and starts its execution
![Page 7: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/7.jpg)
Compilation - Dr. Craig A. Struble7
Integrated Development Environments (IDE)
Integrated set of development tools– Editor, compiler, and linker are in one inclusive
environment– Usually tuned for a specific high-level language– Details of development are hidden but still occur
Visual C++ is an IDE supporting C++
![Page 8: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/8.jpg)
Compilation - Dr. Craig A. Struble8
Visual C++ Terminology
A project is a collection of source files, object files, and executables generated during development.– Usually stored in a single directory called the project
location– Your projects in this course will contain only one
source file
![Page 9: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/9.jpg)
Compilation - Dr. Craig A. Struble9
Visual C++ Project Types
Win32 Application• Graphical applications• Windows, buttons, etc.
Win32 Console Application• DOS Command Window• Text-only input/output
![Page 10: The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on](https://reader038.vdocuments.net/reader038/viewer/2022100521/5a4d1b677f8b9ab0599b127d/html5/thumbnails/10.jpg)
Compilation - Dr. Craig A. Struble10
Visual C++ Input and Output Files
Input files expected by your programs must be stored in the project location directory.– Programs fail to run if the input files are not found– Do NOT put input files in the Debug directory
Output files are generated in the project location directory.