Introduction to Linux Programming 리눅스 프로그래밍 입문
The is the newly released FTLinuxCourse 2004 for Linux Programming using C and C++. 해당에는 새로 출시 2004 년 10 리눅스 프로그래밍 ftlinuxcourse c와 c + +를 사용합니다. This course module is part of the newest and latest edition of this free online Linux Course. 이 과정의 일부 모듈은이 무료 온라인의 최신 정보와 최신 버전의 리눅스 과정. The chapters and lessons of this new course covers how to design a program using a flow chart, the C language, the C Library (libc) functions, advanced C and programming techniques, debugging,t he C++ language, the "make" program, process management, network programming, Fortran, Python, RPM package, and CVS.. 챕터 및 레슨이 새로운 코스 커버하는 프로그램을 설계하는 방법을 사용하여 플로우 차트, c 언어, 라이브러리 (libc) 기능, 고급 c 및 프로그래밍 기법, 디버깅, t 그 c + + 언어, "을"프로그램, 공정 관리, 네트워크 프로그래밍, 포트란, 파이썬 둘 중 패키지 및 cvs .. The main course and links to all of 12 course chapters are provided here. 의 주요 코스와 링크를 여기에 모두 12 과목 지부가 제공합니다.
The main goal of this course is to teach users to program in C and C++, and apply this to daily Internet usage from the Linux OS point of view. 의 주요 목표는이 과정은 사용자가 프로그램을을 가르칠 c와 c + +, 그리고 매일 인터넷을 사용하는 방법을 적용하려면, 리눅스 운영 체제 관점합니다.
This covers the following activities: 이 법은 다음과 같은 활동 :
- Write programs in C, from scratch to materialize an idea c 프로그램을 작성, 처음부터 아이디어를 구체화
- Write programs in C++ c + + 프로그램을 작성
- Write programs using Slang and curses 속어를 사용하여 작성 프로그램과 저주
- Write programs in Fortran and Python 포트란 프로그램을 작성, 파이썬
- Write Linux daemons (services) that regards generally Networking services 쓰기 리눅스 데몬 (서비스)에 관해서 일반적으로 네트워킹 서비스
- Write the "configure" program to auto-configure the project 쓰기의 "구성"프로그램을 자동으로 - 구성하는 프로젝트를
- Built its own RPM packages 자신의 rpm 패키지를 구축
- Compiling software downloaded from the remote sites 원격 사이트에서 다운로드한 소프트웨어를 컴파일하기
Update 10/23/2006: This course has been updated and is now found here: 업데이 트를 2006년 10월 23일 :이 과정이 업데이 트되었으며 현재 찾을 위치 :
An Introduction to Linux Programming (using C and C++) 을 소개, 리눅스 프로그래밍 (c, c + +를 사용하여)
Table of Contents 목차
Chapter P1. 제 p1합니다. So you want to program? 유명 해지고 싶은 프로그램입니까?
- What is a program? 는 무엇입니까 프로그램입니까?
- Interpreted vs Compiled 해석 vs 컴파일
- A first example in C language 첫번째 예제에서는 c 언어
- The "main" procedure 의 "기본"프로 시저
- The arguments argc and argv argc 및 argv 인수
- The atoi the atoi
- Data declaration 데이터 선언
- The C program checker: lint the c 프로그램을 검사기 : 린트
- The gcc: the GNU C Compiler the gcc : c 컴파일러에 마지막
- Float and double 부동하고 두
- The make command 제조 업체 명령을
- The touch command 명령을 손길을
- The environ 환경
- A first example in C++ language c + + 언어의 첫번째 예제에서는
- The ++ operator 의 + + 연산자
- How to Design of a Program with a Flow Chart 의 프로그램을 디자인하는 방법을 흐름도
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P2. 제 p2합니다. The C Language the c 언어
- C Data types c 데이터 유형을
- Formatting data 서식이 데이터를
- Vectors and Pointers 벡터와 포인터
- Structures, union and typedef 구조, 연합과 형식
- Conversion between types 유형 간의 변환
- C Operators c 운영자
- C Functions c 함수
- How to build a static library 정적 라이브러리를 만드는 방법
- How to build a shared library 공유 라이브러리를 만드는 방법
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P3. p3 장. The C Library (libc) functions the 라이브러리 (libc) 함수
- The C Compiler the c 컴파일러
- The RedHat 2.96 'gaffe' compiler the 레드햇 2.96 '의심스러운'컴파일러
- The latest GNU gcc 3.1 3.1에 대한 최신 gnu gcc
- The C Preprocessor the c 전처 리기
- The C Library: "libc.a" the 라이브러리 : "libc.a"
- The stdio functions familiy 가족 the stdio 함수
- The type FILE. 의 유형 파일을합니다.
- The stat type: sys/stat.h the 합계 유형 : 시스템 / stat.h
- The pwd functions 장애인 기능을
- The string functions 의 문자열 함수
- The math functions 수학 함수
- The stdlib functions the stdlib 기능을
- The signals 신호
- The time function 시간 함수
- C Limits c 한계
- The stdio functions familiy 가족 the stdio 함수
- Some Utilities for Developers 일부 개발자를위한 유틸리티
- Some Examples 예를 들면
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P4. p4 장. Advanced C and programming techniques 고급 c 및 프로그래밍 기술을
- Memory management 메모리 관리
- The "malloc" and "calloc" "malloc", "calloc"
- The memcpy the memcpy
- Programming techniques 프로그래밍 기법
- Algorithms for Sorting 정렬 알고리즘
- Selection 선택
- Insertion 삽입
- Bubble 거품
- ShellSort shellsort
- QuickSort quicksort
- Algorithms for Searching 검색 알고리즘을
- Sequential Search 순차 검색
- List Search and 목록을 검색하고
- Binary Search 이진 검색
- Queues 큐
- Algorithms for Sorting 정렬 알고리즘
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P5. p5 장. The debugging of C programs c 프로그램의 디버깅
- What is a debugger ? 디버거는 무엇입니까?
- The "gdb" debugger "gdb"디버거
- The graphical interface for gdb: "xxgdb" 의 그래픽 인터페이스를 gdb : "xxgdb"
- The Data Display Debugger: "ddd". 데이터를 디스플레이 디버거 : "대행 서비스".
- A debugging session 디버깅 세션을
- Tracing the execution of a program 를 추적하는 프로그램의 실행을
- How to set up breakpoints. 중단점을 설정하는 방법.
- How to print data in the debugger. 디버거에서 데이터를 인쇄하는 방법.
- Some hints to debug graphical programs 그래픽 프로그램을 몇 가지 힌트를 디버그
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P6. p6 장. The C++ Language the c + + 언어
- Introduction 소개
- The C++ Implementation the c + + 구현
- A new mode to include files for cplusplus cplusplus 포함 파일에 대한 새로운 모드로
- New operators for Standard I/O 새 연산자에 대한 표준 나는 / 오
- What is a class? 클래스는 무엇입니까?
- Constructors and Destructors 생성자와 소멸자
- File I/O 파일 입 / 출력
- Inheritance or Derived Classes 상속 또는 파생된 클래스
- The C++ Standard Library the c + + 표준 라이브러리
- C++ Keywords c + + 키워드
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P7. p7 장. The "make" program 은 "을"프로그램
- The make program 프로그램을 만들기
- Some Basic Makefiles 일부 기본 makefiles
- The implicit Makefile 메이크 암시
- A simple and effective Makefile 간단하고 효과적인 메이크
- A recursive Makefile 메이크 재귀
- The X11 Makefile the x11 메이크
- The Qt Makefile the qt 메이크
- A short "make" Command Reference 짧은 "을"명령을 참조
- The "automake" and "autoconf" tools "automake"및 "autoconf"도구
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P8. P 8 장. Process management 프로세스 관리
- Processes under Linux 프로세스를 리눅스에서
- How to use a "popen" function 를 사용하는 방법 "popen"기능을
- Using signals 신호를 사용하여
- Launching programs from programs 프로그램을 시작하는 프로그램을
- Using getpid() 를 사용하여 getpid ()
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P9. p9 장. Network Programming 네트워크 프로그래밍
- An Introduction to Network Programming 네트워크 프로그래밍을 소개
- Network API 네트워크 API를
- IPC Programming ipc 프로그래밍
- What is a socket ? 소켓는 무엇입니까?
- The message queue 대기열의 메시지
- Semaphores 세마포어
- What is Shared Memory? 공유 메모리를 무엇입니까?
- Locking files 잠금 파일을
- CORBA programming , CORBA 프로그래밍
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P10. p10 장. Fortran 포트란
- FORTRAN ... 포트란 ... an ethernal scientfic programming language an scientfic 프로그래밍 언어 ethernal
- Fortran Generations 포트란 세대
- Fortran 90 features 포트란 90 특징
- Discovering FORTRAN 포트란을 발견
- The READ and WRITE instructions 의 읽기 및 쓰기 지침을
- Data Declaration 데이터 선언
- Loops 루프
- FORMAT 형식
- Compiling FORTRAN with libs 포트란으로 컴파일하기 libs
- Some Examples 예를 들면
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P11. p11 장. An overview on Python 에 대한 개요를 파이썬
- What is Python ? 파이썬 무엇입니까?
- My first program in Python 첫 번째 프로그램에서 파이썬
- Numbers 번호
- Strings 문자열
- Lists 목록
- Dictionaries 사전
- Classes 클래스
- File I/O with Python 파일 입 / 출력과 파이썬
- The Standard Python Library 파이썬 라이브러리의 표준
- Compiling Python 파이썬 컴파일
- Writing X applications in Python: Tkinter 서면 x 응용 프로그램을 파이썬 : tkinter
- ZOPE zope
- Conclusions 결론
- Exercises 운동
- Test 시험
- Internet resources about this chapter 이 장에서는 인터넷 자원에 대해
Chapter P12. p12 장. Built your RPM package 귀하의 rpm 패키지를 구축
- Introduction 소개
- RPM like a Package DataBase rpm 같은 패키지를 데이터베이스를
- RPM Commands rpm 명령을
- Upgrading the RPM database from RPM 3.X to 4.X rpm 3.x에서 데이터베이스를 업그레이 드하는 rpm 4.x
- Upgrading from RPM 4.0.2 to 4.0.3 rpm 4.0.2에서 4.0.3로 업그레 이드
- Upgrading from RPM 4.0.91 to 4.0.96 4.0.91를 4.0.96 rpm으로 업그레 이드
- Built a RPM package from scratch rpm 패키지를 만들어 처음부터














