A.ofstream ofile;ofile.open("abc.txt",ios::binary);
B.fstream iofile;iofile.open("abc.txt",ios::ate);
C.ifstream ifile("abc.txt");
D.cout.open("abc.txt",ios::binary);
您可能感興趣的試卷
你可能感興趣的試題
A.iso::ate
B.iso::app
C.iso::out
D.iso::trunc
A.cout<<"1. "<<setfill(’ ’)<< "Hello! "<<endl;
B.cout<<"1."<<’ ’ <<"Hello! \n";
C.cout<<"1. Hello! "<<endl;
D.cout<<"1. "<<setw(7)<< "Hello! ";
A.25 25
B.25 31
C.31 19
D.25 19
A.stdlib.h
B.iostream.h
C.fstream.h
D.iomanip.h
A.setbase
B.setfill
C.setprecision
D.setw
最新試題
在面向?qū)ο蟪绦蛟O(shè)計中,將一組數(shù)據(jù)和這組數(shù)據(jù)有關(guān)的操作集合組裝在一起形成對象,這個過程叫()。
程序設(shè)計語言可以分為三種:低級語言、中級語言和高級語言,C++語言屬于()。
如果把const限定符放在*號的右邊,使指針本身成為一個const指針,即()。
指針變量中保存著一個()。
如果在定義引用時,在定義的前面加上了()關(guān)鍵字,則表明該引用是常引用。
static_cast的功能是將一種數(shù)據(jù)類型轉(zhuǎn)換成另一種數(shù)據(jù)類型,其使用格式為()。
為了避免頻繁的函數(shù)調(diào)用與返回,C++語言引入了()的概念。
string類中為字符串對象提供了一些成員函數(shù),調(diào)用這些成員函數(shù)的方法為()。
對于只存儲一個基本類型數(shù)據(jù)的指針,使用new為其動態(tài)分配的語法格式為()。
()是面向?qū)ο蟪绦蛟O(shè)計方法中的程序主體。