Professional Documents
Culture Documents
Hardware &
Software
Hardware
Hardware
S o ftw a re
S y s te m
S o ftw a re
A p p lic a tio n
S o ftw a re
Software
Application software
Easy-to-use programs designed to perform
specific tasks
System software
Programs that support the execution and
development of other programs
Two major types
Operating systems
Translation systems (compilers & linkers)
User Interface
Operating System
Computer Hardware
Application Software
Operating System
A program
(in computer language)
An example:
Machine binary language
Low-level assembly
High-level
How to translate?
A program written in high-level programming language
(for example, C++ program)
COMPILER (for example, Visual C++)
Translation System
Software Development
Major activities
Editing (writing the program)
Compiling (creates .obj file)
Linking with compiled files (creates .exe file)
Object files
Library modules
Loading and executing
Testing the program
Integrated
Development Environments
Function
named
main()
indicates
start of
program
// a simple program
#include <iostream>
Comments
using namespace std;
int main() {
cout << "Hello world!" << endl;
return 0;
}
Ends execution
of main() which ends
program
Print
statement
Summary