Overview
This presentation is the property of its rightful owner.
Sponsored Links
1 / 8

Overview PowerPoint PPT Presentation


  • 105 Views
  • Uploaded on
  • Presentation posted in: General

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:

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation 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


Overview

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


Overview

IDE (整合發展環境)

SOURCE CODE

EDIT

COMPILER

OBJ files

Library files

LINK

Executable file

LOAD (OS)

Operation System


Overview

  • 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

Compiler –Gnu gcc G++ for Windows

  • ftp.swcp.com/pub/F

    F_win_mingw_031017.zip

    MinGW - Minimalist GNU for Windows


Install

Install

  • Download the zip file

  • Unzip and extract to a directory

  • Add the path to %path%

    (in autoexec.bat)


Command line

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

Integrated Developing Environment

devcpp: an IDE build upon the mingw.

http://www.bloodshed.net/dev/devcpp.html

devcpp4991setup.exe


  • Login