Introduction to Linux ProgrammingはじめにLinuxのプログラミング
The is the newly released FTLinuxCourse 2004 for Linux Programming using C and C++. のは、新たにLinuxのプログラミングのため2004年にリリースftlinuxcourse CおよびC + +を使用しています。 This course module is part of the newest and latest edition of this free online Linux Course. このコースのモジュールは、最新の部分とLinuxの最新版は、次の無料オンラインコースです。 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言語、 Cライブラリ( libcの)機能、高度なCおよびプログラミングのテクニック、デバッグ、 C + +言語トン彼は、 " make "プログラムは、プロセス管理、ネットワークプログラミング、フォートラン、 pythonですが、 RPMパッケージ、および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 + + 、およびこれを適用する毎日のインターネット利用者は、 Linux OSのポイントが表示されます。
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 フォートランやPythonのプログラムを書く
- Write Linux daemons (services) that regards generally Networking services ここLinuxのデーモン(サービス)を、通常のネットワーキングサービスについて
- 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: 10/23/2006更新プログラム:このコースが見つかりましたが更新されてしており、現在の場所:
An Introduction to Linux Programming (using C and C++) Linuxのプログラミング入門(を使用して、 CやC + + )
Table of Contents 目次
Chapter P1. 第P1に追加します。 So you want to program? これをプログラムしたいですか?
- What is a program? プログラムは何ですか?
- Interpreted vs Compiled 解釈対コンパイル
- A first example in C language 最初の例ではC言語
- The "main" procedure の" main "プロシージャ
- The arguments argc and argv の引数argcやargv
- The atoi のatoi
- Data declaration データ宣言
- The C program checker: lint のCプログラムチェッカー:糸くず
- The gcc: the GNU C Compiler は、 gcc : GNU Cコンパイラ
- Float and double フロートをダブル
- The make command makeコマンド
- 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. Picasa 2の章です。 The C Language C言語
- C Data types Cデータの種類
- Formatting data 書式データ
- Vectors and Pointers ベクトルとポインタ
- Structures, union and typedef 構造、労働組合と定義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 のCライブラリ( libc )関数
- The C Compiler Cコンパイラ
- The RedHat 2.96 'gaffe' compiler 2.96のredhat '失言'コンパイラ
- The latest GNU gcc 3.1 最新のGNU GCCの3.1
- The C Preprocessor のCプリプロセッサ
- The C Library: "libc.a" Cライブラリ: " libc.a "
- The stdio functions familiy 家族経営の標準入出力機能
- The type FILE. ファイルの種類です。
- The stat type: sys/stat.h の合計のタイプ: sys /をstat.h
- The pwd functions 障害者の機能
- The string functions の文字列関数
- The math functions 数学関数
- The stdlib functions 関数のstdlib
- The signals の信号
- The time function の時間関数
- C Limits c限界
- The stdio functions familiy 家族経営の標準入出力機能
- 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 の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". デバッガのデータを表示: " 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. 第6番手。 The C++ Language のC + +言語
- Introduction 導入
- The C++ Implementation C + +の実装
- A new mode to include files for cplusplus 新たなモードを含むファイルをcplusplus
- New operators for Standard I/O 新しい演算子を標準 I / O
- What is a class? クラスは何ですか?
- Constructors and Destructors コンストラクタとデストラクタ
- File I/O ファイル I / O
- Inheritance or Derived Classes 相続または派生クラス
- The C++ Standard Library C + +の標準ライブラリ
- C++ Keywords C + +のキーワード
- Exercises 演習
- Test 試験
- Internet resources about this chapter インターネットリソースについては、この章
Chapter P7. 第p7です。 The "make" program の" make "プログラム
- The make program 、 makeプログラム
- Some Basic Makefiles いくつかの基本的なメーク
- The implicit Makefile 暗黙のMakefileの
- A simple and effective Makefile メイクを簡単かつ効果的に
- A recursive Makefile Makefileの再帰
- The X11 Makefile 、 X11のMakefileの
- The Qt Makefile Makefileの中止します。
- A short "make" Command Reference 短いの" make "コマンドリファレンスを参照
- The "automake" and "autoconf" tools " automake "と" autoconfの"開発支援ツール
- Exercises 演習
- Test 試験
- Internet resources about this chapter インターネットリソースについては、この章
Chapter P8. 第p8です。 Process management プロセス管理
- Processes under Linux 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 プログラミング言語のethernal scientfic
- Fortran Generations フォートラン世代
- Fortran 90 features フォートラン90特徴
- Discovering FORTRAN 発見のFortran
- The READ and WRITE instructions の読み取りと書き込みの指示
- Data Declaration データ宣言
- Loops ループ
- FORMAT 形式
- Compiling FORTRAN with libs コンパイルのFortranを使い回し
- Some Examples いくつかの例
- Exercises 演習
- Test 試験
- Internet resources about this chapter インターネットリソースについては、この章
Chapter P11. 第p11します。 An overview on Python の概要にPythonに
- What is Python ? Pythonのは何ですか?
- My first program in Python 私の最初のプログラムはPythonで
- Numbers 数字
- Strings 文字列
- Lists リスト
- Dictionaries 辞書
- Classes クラス
- File I/O with Python ファイル I / OにPythonの
- The Standard Python Library 、標準のPythonのライブラリ
- Compiling Python Pythonのコンパイル
- Writing X applications in Python: Tkinter XアプリケーションはPythonで書く: 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データベースをアップグレードしてからのRPM 3.xから4.xの
- Upgrading from RPM 4.0.2 to 4.0.3 4.0.2から4.0.3からのアップグレードのRPM














