1、 了解系統調用pipe()的功能和實際原理
2、 編寫一段程序,使用管道實現父子進程之間的通信
a) 使用系統調用fork()創建一個子進程
b) 子進程調用函數write()向父進程發送自己的進程ID和字符串” s sending a message to parent.\n”。
c) 父進程調用函數read()通過管道讀出子進程發來的消息,將消息輸出屏幕,然后終止
This book is the most accurate and up-to-date source of information the STL currently available. ... It has an approach and appeal of its own: it explains techniques for building data structures and algorithms on top of the STL, and in this way appreciates the STL for what it is - a framework. Angelika Langer, Independent Consultant and C++ Report Columnist "A superbly authored treatment of the STL......an excellent book which belongs in any serious C++ developer s library." Jim Armstrong, President 2112 F/X, Texas. \n
The C++ Standard Template Library (STL) represents a breakthrough in C++ programming techniques. With it, software developers can achieve vast improvements in the reliability of their software, and increase their own productivity.