Transcript Overview

Overview






BCPL: 1966, Martin Richard 1967 MIT
B: D. M. Ritchie and K. L. Thompson
C: 1969-1973, Dennis Ritchie
1978 K&R white book: The C
Programming Language
1980: ANSI X3J11 committee
1989-1999: C++, C98, C99
HARD DISK (40GB)
LOAD executable
Flush
Address registers:
CS:ip ,DS:dp, SS:sp
Arithmetic, and logic registers
CS
CPU
DS
SS
execution
RAM (512MB)
IDE (整合發展環境)
EDIT
SOURCE CODE
COMPILER
OBJ files
Library files
LINK
Executable file
LOAD (OS)
Operation System

OS: Windows, Linux, Unix, Next
(working platform)

Edit: 記事本, word (text), vi, edit
(generate a text file)

Compiler: provide library modulus,
compiler (syntax)
link
Compiler –

Gnu gcc G++ for Windows
ftp.swcp.com/pub/F
F_win_mingw_031017.zip
MinGW - Minimalist GNU for Windows
Install

Download the zip file

Unzip and extract to a directory

Add the path to %path%
(in autoexec.bat)
Command Line
gcc file1.c file2.c file3.o file4.o
-c
-o exe_file_name
-L library_path
-I including_file_path
-O
-lm
Integrated Developing
Environment
devcpp: an IDE build upon the mingw.
http://www.bloodshed.net/dev/devcpp.html
devcpp4991setup.exe