![](https://lstatic.shangxueba.com/jiandati/pc/images/pc_jdt_tittleico.png)
![](https://lstatic.shangxueba.com/jiandati/pc/images/logo2.png)
![当使用ifstream流类定义一个流对象并打开一个磁盘文件时,文件的默认打开方式为()。 A.ios—base:](https://img2.soutiyun.com/shangxueba/askcard/2024-01/20/986/20240120110614439.jpg)
当使用ifstream流类定义一个流对象并打开一个磁盘文件时,文件的默认打开方式为()。 A.ios—base:
当使用ifstream流类定义一个流对象并打开一个磁盘文件时,文件的默认打开方式为()。
A.ios—base::in
B.ios—base::in l ios base::0ut
C.los base;:0ut
D.ios_base::in&ios_base::0ut
![](https://lstatic.shangxueba.com/jiandati/pc/images/jdt_panel_vip.png)
当使用ifstream流类定义一个流对象并打开一个磁盘文件时,文件的默认打开方式为()。
A.ios—base::in
B.ios—base::in l ios base::0ut
C.los base;:0ut
D.ios_base::in&ios_base::0ut
B. ios: :out
C. ios: :in|ios: : binary
D.ios: :out|ios: : binary
A.ios—base::in
B.ios—base::in l ios base::0ut
C.los base;:0ut
D.ios_base::in&ios_base::0ut
A、file.write( c, sizeof(c));
B、file.write((char *)&c, sizeof(c));
C、file.write((char *)(&c), sizeof(c));
D、file.write((const char *)c, sizeof(c));
A、long ios::unsef(long flags)
B、long ios::flags()
C、long ios::setf(long flags)
D、long ios::width(int n)
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!