在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 教程/ C++/ C++標準庫教程
std::put_money()函數(shù)
std::setprecision()函數(shù)
std::get_time()函數(shù)
basic_ios::openmode
basic_ios::basic_ios構(gòu)造函數(shù)
ios::rdstate()函數(shù)
ios::good()函數(shù)
C++ <fstream>
fstream::swap()函數(shù)
ios非運算符
ostream運算符=
std::resetiosflags()函數(shù)
ios::move()函數(shù)
ios::clear()函數(shù)
std::fpos()函數(shù)
ios::narrow()函數(shù)
fstream::close()函數(shù)
ios::imbue()函數(shù)
basic_ios::setstate
ios_base::fmtflags
C++ <iomanip>
std::setw()函數(shù)
ios_base::failure
C++ <basic_ios>
ios::fill()函數(shù)
ios_base::Init
ios::widen()函數(shù)
ios庫<ios>
std::setbases()函數(shù)
ios::swap()函數(shù)
ios::set_rdbuf()函數(shù)
std::setiosflags()函數(shù)
std::put_time()函數(shù)
std::get_money()函數(shù)
ios_base::seekdir
ios_base::event_callback()函數(shù)
fstream::rdbuf()函數(shù)
std::setfill()函數(shù)
fstream::isopen()函數(shù)
ios::tie()函數(shù)
ios::copyfmt()函數(shù)
fstream::open()函數(shù)
basic_ios::basic_ios析構(gòu)函數(shù)
ios_event::eof()函數(shù)
io::rdbuf()函數(shù)
ios::exceptions()函數(shù)
ios::init()函數(shù)
ios_base::event()函數(shù)
C++標準庫教程

C++標準庫教程

C++是由Bjarne Stroustrup于1979年在貝爾實驗室開發(fā)的中級程序設(shè)計語言。 C++在各種平臺上運行,例如Windows,Mac OS和各種版本的 UNIX/Linux。

C++標準庫是以C++語言為核心編寫的類,函數(shù),宏,常量等的集合。一個頭文件可以根據(jù)不同的編譯器實現(xiàn)而變化。此教程中包含C++標準庫中的內(nèi)容,新的C++特定頭文件以及C++標準模板庫(STL)的其他重要的頭文件。

面向讀者

C++標準庫是C++程序員的參考,幫助他們在項目開發(fā)過程與系統(tǒng)編程相關(guān)編程時參考應(yīng)用。 本教程中所有的C++函數(shù)都是以一種易于理解的方式或示例來演示說明,這此示例可以很容易地在開發(fā)的C++項目中使用。

閱讀或使用教程的前提條件

有C++編程語言的基本理解和知識,有助理解此庫中包含的C++類和內(nèi)置函數(shù)。所以要求讀者最好有C語言或C++編程基礎(chǔ)知識。

代碼開發(fā)或測試環(huán)境

查看在Linux系統(tǒng)上安裝的C++編譯器,如下命令 -

[root@yiibai ~]# g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)

對于本教程中給出的大多數(shù)示例,您可以加以運行和測試,因此您要還需要安裝好C++的編譯環(huán)境。還要熟悉C++的編譯的鏈接,并執(zhí)行輸出結(jié)果。