d********e 发帖数: 132 | 1 在 windows下的C++开发平台是不是 Dev-C++? 还有其他得吗?
Eclipse 好用吗? |
z***e 发帖数: 5393 | 2 visual c++ express.
【在 d********e 的大作中提到】 : 在 windows下的C++开发平台是不是 Dev-C++? 还有其他得吗? : Eclipse 好用吗?
|
d********e 发帖数: 132 | 3 visual C++ express 下面用的compiler 也是 g++吗?
【在 z***e 的大作中提到】 : visual c++ express.
|
S**I 发帖数: 15689 | 4 of course not
【在 d********e 的大作中提到】 : visual C++ express 下面用的compiler 也是 g++吗?
|
d********e 发帖数: 132 | 5 那在 g++下的 能拿到 visual C++ express下直接编译吗?
【在 S**I 的大作中提到】 : of course not
|
k*******d 发帖数: 1340 | 6 Usually yes.
我觉得VC你可以让他用G++做编译器的,某些地方要设置一下 |
b******n 发帖数: 592 | 7 if it can compile, it can; if it can't compile, then you need to modify the
code. it depends on what the code does.
【在 d********e 的大作中提到】 : 那在 g++下的 能拿到 visual C++ express下直接编译吗?
|
A******g 发帖数: 612 | 8 yes in most of the cases,
I know one difference,
VC compiler allows
int n=10;
int arr[n];
g++ doesn't allow, you have to use a constant to allocate memory for an array
I will change the code like,
int n=10;
int *arr;
arr =new int[n];
this works,
【在 d********e 的大作中提到】 : 那在 g++下的 能拿到 visual C++ express下直接编译吗?
|
S**I 发帖数: 15689 | 9 你用的VC版本太老了,VS 2008和2010都不允许用非常量整数初始化数组;2010和GCC很
接近了。
array
【在 A******g 的大作中提到】 : yes in most of the cases, : I know one difference, : VC compiler allows : int n=10; : int arr[n]; : g++ doesn't allow, you have to use a constant to allocate memory for an array : I will change the code like, : int n=10; : int *arr; : arr =new int[n];
|
p***o 发帖数: 1252 | 10 He means g++ by VC and VC by g++ ...
【在 S**I 的大作中提到】 : 你用的VC版本太老了,VS 2008和2010都不允许用非常量整数初始化数组;2010和GCC很 : 接近了。 : : array
|
t*****n 发帖数: 4908 | 11 要看代码规模。
万行以下用什么都行,只要你自己不糊涂。
百万级别的话我选eclipse+cdt。它的indexer非常牛。
VC + assist x也不错,但是俺们没钱买正版。
我的常用:
Windows: eclipse 写代码,vc express 调试 (STL很爽)
Linux:: eclipse 写代码,gdb+emacs 调试。 |
t*****n 发帖数: 4908 | |