1 / 8

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. RAM (512MB). Address registers:

amina
Download Presentation

Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. HARD DISK (40GB) LOAD executable Flush RAM (512MB) Address registers: CS:ip ,DS:dp, SS:sp Arithmetic, and logic registers DS CPU CS SS execution

  3. IDE (整合發展環境) SOURCE CODE EDIT COMPILER OBJ files Library files LINK Executable file LOAD (OS) Operation System

  4. OS: Windows, Linux, Unix, Next (working platform) • Edit: 記事本, word (text), vi, edit (generate a text file) • Compiler: provide library modulus, compiler (syntax) link

  5. Compiler –Gnu gcc G++ for Windows • ftp.swcp.com/pub/F F_win_mingw_031017.zip MinGW - Minimalist GNU for Windows

  6. Install • Download the zip file • Unzip and extract to a directory • Add the path to %path% (in autoexec.bat)

  7. 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

  8. Integrated Developing Environment devcpp: an IDE build upon the mingw. http://www.bloodshed.net/dev/devcpp.html devcpp4991setup.exe

More Related