1 / 11

Data Structures

Data Structures. INTRODUCTION 2007 Spring Rhan Ha. Introduction. Prof. : 하 란 교수님 T807, (02)320-1486 Homepage : www.cs.hongik.ac.kr/~rhanha E-Mail : rhanha@cs.hongik.ac.kr TA : 장 상 욱 Real-Time Systems Lab. T820 E-Mail : swjang94@gmail.com

Download Presentation

Data Structures

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. Data Structures INTRODUCTION 2007 Spring Rhan Ha

  2. Introduction • Prof. : 하 란 교수님 • T807, (02)320-1486 • Homepage : www.cs.hongik.ac.kr/~rhanha • E-Mail : rhanha@cs.hongik.ac.kr • TA : 장 상 욱 • Real-Time Systems Lab. T820 • E-Mail : swjang94@gmail.com • RTS Lab. Homepage : http://www.cs.hongik.ac.kr/~rts

  3. Grading Policy (cont.) • 총 과제 점수 100점 중 20점 미만 획득 시 F • Copy : F • No Submission : Assignment = 0

  4. Data Structures #1 Introduction to Linux

  5. 기본 Tool 사용법 • man : Find and display reference manual pages • Usage: >man [query] • ftp : ftp.ce.hongik.ac.kr • Usage:>ftp [ip_address | Hostname] • telnet : linux1.ce.hongik.ac.kr • Usage: >telnet [ip_address | Hostname] • vi/vim editor : Screen-oriented display editor • Usage: >vi [options][filename] • More Info.: man page

  6. Compile & Debug (GNU) • g++: C and C++ compilers are integrated • Usage : g++ [-options | filenames]… • -c [source_filename] : compile & generate an object file (.o) • -o [execute_filename] [object_files] [libraries] : generate execution file • -g <source_filename> : use debug • More info. >man g++

  7. .c .h Compile & Debug (GNU)

  8. Compile & Execution

  9. Make • 다수의 소스 파일로 구성된 프로젝트 • 대개 길고 복잡한 컴파일러 호출을 요구 • 복잡한 명령 라인을 파일로 저장하여 작업을 단순화 • 재구성 시간을 최소화 • 내용이 변경된 파일만을 재구성

  10. target : dependency dependency […] command command […] [Tab] Make 작성 • Makefile 일반적인 형식 • target • depandency를 정의한 Lable • dependency • command의 입력으로 요구되는 하나 이상의 파일 목록 • command • 컴파일러와 같은 명령어 호출부 • 디폴드 디렉토리는 : 현재 작업 디렉토리 • ex)test.o (target):test.h test.c (dependency) <TAB>g++ -c test.c (command) command 부분은 반드시 제일 앞에 TAB character 사용

  11. Make

More Related