问题 单项选择题

以下程序的输出结果是( )。   #include<iostream.h>   void main( )   { int a=21,b=11;   cout<<- -a+b;}

A. 建立自定义对话框时必须执行添加窗体的操作

B. 自定义对话框实际上是VB的窗体

C. 在窗体上还要使用其他控件才能组成自定义对话框

D. 自定义对话框不一定要有与之对应的事件过程

答案

参考答案:D

解析:所有的字节输出流都继承于OutputStream类。

完形填空
完形填空。
     Gareth looked at the beautiful stones in the bag. "I will not be __1__ until the bag is full (满的). I must
 find some more," said he.
     As Gareth went into the forest (森林), he saw someone__2__stones. It was Brog. He put many stones
  into a bag. Gareth liked those stones very much. " __3__can I get those stones from him?" Gareth
 thought. "I know. I'll make a trade (交易) with him."
     "Excuse me! I'd like to have a word with you," Gareth shouted.
     Brog __4__and turned around. "What do you want?"
     "My name is Gareth and this is my forest. I'm afraid all those stones that you've got in your bag are
 __5__."
     "Yours? Since when have you owned the forest?"
     "I have always owned it, but I will be happy to make a trade. Why don't you come __6__ me to my
 house? You can __7__ anything you like. All I ask for is that you let me keep __8__in your bag." Gareth
  felt quite proud that he'd come up with __8__ a great idea.
     Brog followed Gareth back to his house. Then he saw a(n) __9__ in the kitchen, and he knew what he
  wanted. "I want her," he said.
     "You want my wife?" Gareth was worried. Should he keep his word and live alone?
( )1. A. happy      
( )2. A. cutting up  
( )3. A. When        
( )4. A. stopped    
( )5. A. hers        
( )6. A. at          
( )7. A. buy        
( )8. A. something  
( )9. A. very        
( )10. A. UFO        
B. worried    
B. picking up  
B. Why        
B. left        
B. yours      
B. into        
B. choose      
B. everything  
B. too        
B. stone      
C. unhappy    
C. setting up
C. How        
C. started    
C. mine      
C. out        
C. borrow    
C. nothing    
C. so        
C. alien      
D. terrified    
D. cleaning up  
D. What        
D. refused      
D. ours        
D. with        
D destroy      
D. anything    
D. such        
D. woman        
多选题