readme
来自「一套linux下的C++开发库」· 代码 · 共 55 行
TXT
55 行
Linux c++ class library -- tinycxxThese are the release notes for tinycxx. Read them carefully, as theytell you what tinycxx is, explain how to install tinycxx, and what todo if something goes wrong. What is tinycxx? Tinycxx is a c++ class library on linux platform. It offers lots of threadsafe c++ classes and functions for common linux programming such as linuxthread, socket, IPC, file lock, time, html template, etc. In order to make some programming easier, tinycxx also offers two framework c++ classes named CNBTcpSvr and CPreforkSvr. Any program which makes use of non-blocking socket may create a class inherited from CNBTcpSvr. And CPreforkSvr offers a so-called process pool.Installing tinycxx: Suppose you put tinycxx source package in /usr/src diretory, then cd /usr/src gzip -cd tinycxx-XX.tar.gz | tar xfv - to get source files. Replace "XX" with the version number of the release. Following steps are same with other software package make use of gnu tools. cd tinycxx-XX ./configure make make install Maybe the last operation needs root privilege.Software dependency: Tinycxx's thread support is based on linux thread library. Therefore it's necessary to have pthread library installed before compile tinycxx. For the same reason, you must suffix -lpthread in the command line when you compile your own program with tinycxx. For example, g++ -o foo foo.cpp -ltinycxx -lpthread it suppose you use gnu g++ as your compiler.If something goes wrong: Please send email to alben@yeah.net or go to http://sf.net/projects/tinycxx.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?