c++输入格式大全(国外英文资料).docVIP

  • 9
  • 0
  • 约1.01万字
  • 约 20页
  • 2017-06-05 发布于河南
  • 举报
c输入格式大全(国外英文资料)

c++输入格式大全(国外英文资料) In c + +, these input functions are a little confusing; Make a summary here, for the sake of their review, also hope to others can help, also please advice if there are errors in the place (in this article, all programs are run through VC 6.0) 1, cin 2, cin. The get () 3, cin. Getline () 4, getline () 5, gets () 6, getchar () A. ignore b. ignore c. ignore C. get () / / skip a character, such as a return car, a space, etc 1, cin Usage 1: basic and common usage, enter a number: # include iostream Using namespace STD. The main () { Int a, b; Cin a b; Cout a + b endl;

文档评论(0)

1亿VIP精品文档

相关文档