首页 > 编程语言 > 详细

C算法--入门 2

时间:2019-07-04 09:31:18      阅读:95      评论:0      收藏:0      [点我收藏+]

C C++比较:

1.

Scanf printf 函数

Cin cout可不指定输入输出格式,消耗时间多

 

2.

Stdio :standard input output   .h——head

Stdio.h  ——include sth about input and output   (cstdio)

#include<xxx> use stdio.h

Math.h    (cmath)

String.h    (cstring)

 

3.

Only one entrance

Int main(){

Return 0;

}

 

4.

Int a,b;

Scanf(“%d%d”,&a,&b);

Printf(“%d”,a+b);

 

5.

C++ downward compatible C

C算法--入门 2

原文:https://www.cnblogs.com/Catherinezhilin/p/11130211.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!