问一下c4droid中是不是c++不可以用iostream.h
c4droid吧
全部回复
仅看楼主
level 12
whats喵
楼主
还有主函数只能用int定义?不可以用void什么的,为什么电脑版的可以?
2017年04月10日 10点04分
1
level 12
whats喵
楼主
老师用电脑时打的都是.h什么的,请问两者有什么区别
2017年04月10日 10点04分
2
level 11
麓fantaisie
楼主看的是10+年前的视频吧
C++ 的 .h 和 void main 已经过时了
2017年04月10日 10点04分
3
level 12
whats喵
楼主
。。。
2017年04月10日 10点04分
4
level 12
whats喵
楼主
老师教的时候全都是
2017年04月10日 10点04分
5
level 12
幻🔯世
你老师老了!新标准已经取消标准库.h格式了!
2017年04月10日 13点04分
6
level 12
whats喵
楼主
所以有什么区别吗?
2017年04月10日 14点04分
7
level 8
82年的雪碧🌹
为什么你第一个是中文
2017年04月11日 02点04分
8
whats喵
用的不知者汉化版。。。
2017年04月11日 02点04分
82年的雪碧🌹
@whats喵
链接
2017年04月11日 02点04分
whats喵
[有效]
http://pan.baidu.com/s/1c2dX9G8
2017年04月11日 02点04分
level 10
6l3_永远
.h被取消很久了吧……
void……那个是编译器的扩展……
2017年04月12日 15点04分
9
whats喵
我也很绝望啊,那个老师一直用的都是.h,void 然后有些人的c++可以用,有些不能,手机版的也不可以
2017年04月12日 15点04分
whats喵
@whats喵
应该没什么区别吧?
2017年04月12日 15点04分
6l3_永远
@whats喵
C++那有什么电脑版手机版……这是编译器的问题……
2017年04月12日 15点04分
level 3
uncle🍼
哈哈哈,c艹已经不用这么老的东西了
2017年04月13日 00点04分
10
level 11
麓fantaisie
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
} // 标准写法
2017年04月13日 09点04分
11
level 12
whats喵
楼主
我知道
2017年04月13日 09点04分
12
金牛dharma
你是个可爱的哈士奇吗
2017年06月02日 05点06分
level 11
月下TNT
加个using namespace std;
2017年06月02日 02点06分
13
1