由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 问一个.NET与C++的问题
相关主题
C++.net 和C++ 有什么不同? 很多有多年经验的Java程序员都会弄错的题目
谁能深入浅出的讲讲protocol和delegate的要点?还没被劝退C++的都来看看这个吧
这里高手很多, 我就趁机会问一个严肃的问题吧 .NET C++ debug状态下怎么用鼠标显示变量值
[合集] is there any software to do statistics for a program? (转载一个C#使用C++.NET类库的问题
微软open source .net还cross platform了,这意味着什么?.NET 的环境下用C++,可是无法debug是怎么回事?
求支持:在把C++编的cmake转成C#。。请推荐本学习VC.NET的书 (转载)
iOS程序开发有前途吗?感觉才过3年,就被时代彻底抛弃了
Question about delegate in C#Perl/Python/.NET难道是搞网页的?
相关话题的讨论汇总
话题: c++话题: c#话题: net话题: cli话题: visual
进入Programming版参与讨论
1 (共1页)
E*****7
发帖数: 128
1
Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。
有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。
k***r
发帖数: 4260
2
i haven't used c++ with .net but one drawback i can think if is
that most of the sample code online is in c#.

C+

【在 E*****7 的大作中提到】
: Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。
: 有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。

r*********r
发帖数: 3195
3
c++/cli 就是把指针给阉了. 有什么新意
N********n
发帖数: 8363
4

Just use C#, it may take like 2 weeks for a C++ programmer to learn.

【在 E*****7 的大作中提到】
: Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。
: 有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。

l****n
发帖数: 157
5
C++/CLI is something like J++ etc, it is something MS made with half heart
to steal C++ user base, it may get dropped any time. If you check all those
C# new features, those support in C++/CLI is quite limited.
E*****7
发帖数: 128
6
Can someone here recommend a good book on learning C# that he/she benefits most?
There are so many out there. Thank you !
r*********r
发帖数: 3195
7
入门: illustrated c# 2008
深入: c# in depth
r*********r
发帖数: 3195
8
c# 语言本身很简单, 除了 delegate 有点新意.
关键是那一大堆库. 跟 java 一样, 大而无趣.
E*****7
发帖数: 128
9
Thank ramdomtiger !
r*********r
发帖数: 3195
10
illustrated c# 确实是一本很有创意的书, 基本上是把 object model 都画出来了,
如果java, c++ 有这样的书就好了.
相关主题
求支持:在把C++编的cmake转成C#。。很多有多年经验的Java程序员都会弄错的题目
iOS程序开发有前途吗?还没被劝退C++的都来看看这个吧
Question about delegate in C# .NET C++ debug状态下怎么用鼠标显示变量值
进入Programming版参与讨论
E*****7
发帖数: 128
11
Thank ramdomtiger !
k***r
发帖数: 4260
12
为啥偶觉得delegate没有必要的复杂?其实就是一个callback
c#弄了很多新名词出来,感觉远远没有java干净,能做的事情却差不多。
有人觉得c# performance比java好些吗?正在努力找一个原因喜欢c#,so far没找到

【在 r*********r 的大作中提到】
: c# 语言本身很简单, 除了 delegate 有点新意.
: 关键是那一大堆库. 跟 java 一样, 大而无趣.

B****y
发帖数: 791
13
C++/CLI is mainly used for working with legacy c++ code/libraries. It's much
easier to write wrapper component in C++/CLI than using C#. Otherwise, C#
is always better for .NET programming.
r*********r
发帖数: 3195
14
delegate started out as just a callback mechanism, for the GUI,
but in c# 3, it has been turned into something like a closure,
hence it's the foundation of functional programming going forward.

【在 k***r 的大作中提到】
: 为啥偶觉得delegate没有必要的复杂?其实就是一个callback
: c#弄了很多新名词出来,感觉远远没有java干净,能做的事情却差不多。
: 有人觉得c# performance比java好些吗?正在努力找一个原因喜欢c#,so far没找到

c*********s
发帖数: 85
15
definitely recommend programming .net using c# over c++. c++.net I'm sure
can do anything the other supported languages can do with regards to the .
net libraries but the changes they made to make c++ compatible make it not
so pretty. c# was designed for .net and take advantage of the features
naturally. and yes it is very much like c++ and java and should not be hard
to pick up. just keep msdn.microsoft.com handy because you'll need to look
up what the .net library can do to save on coding.
k***r
发帖数: 4260
16
Looks like it, although I'm surprised that they didn't introduce
a new keyword "closure" this time.

【在 r*********r 的大作中提到】
: delegate started out as just a callback mechanism, for the GUI,
: but in c# 3, it has been turned into something like a closure,
: hence it's the foundation of functional programming going forward.

r*********r
发帖数: 3195
17
"delegate" is an obscure keyword... "closure" might make sense to academics,
but
obscure to most programmers too.
c++0x will have closure too, it's just [ ]( ){ }. ingenious syntax !
f*****Q
发帖数: 1912
18
delegate好像从八几年就有了,不是C#发明的。也可能更早。

【在 k***r 的大作中提到】
: 为啥偶觉得delegate没有必要的复杂?其实就是一个callback
: c#弄了很多新名词出来,感觉远远没有java干净,能做的事情却差不多。
: 有人觉得c# performance比java好些吗?正在努力找一个原因喜欢c#,so far没找到

z***e
发帖数: 5393
19
first, c# is the .NET standard language.
2nd, i'd rather write in clean C++ than some "mixed" C++/CLI. C# code looks
much better than C++/CLI --- think about using thos "^" symbols

Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#
和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。

【在 E*****7 的大作中提到】
: Microsoft .NET的最大卖点恐怕在于它的.NET Base Class Library。MS Visual Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。
: 有没有人在用C++/CLI做东西?C++/CLI与C#比有什么优缺点?欢迎讨论。

P********e
发帖数: 2610
20
exactly
when I saw ^, I know it's gonna fail

looks
J#

【在 z***e 的大作中提到】
: first, c# is the .NET standard language.
: 2nd, i'd rather write in clean C++ than some "mixed" C++/CLI. C# code looks
: much better than C++/CLI --- think about using thos "^" symbols
:
: Studio提供了四种与.NET相关的编程语言:Visual C#,Visual Basic.NET, Visual J#
: 和 C++/CLI。对于熟悉C++的人来说,C++/CLI比C#更容易学习掌握。

相关主题
一个C#使用C++.NET类库的问题感觉才过3年,就被时代彻底抛弃了
.NET 的环境下用C++,可是无法debug是怎么回事?Perl/Python/.NET难道是搞网页的?
请推荐本学习VC.NET的书 (转载)how to input arguments in visual C++ .NET
进入Programming版参与讨论
E*****7
发帖数: 128
21

Thanks for the wonderful discussion here. I am learning "Illustrated C# 2008
" now.
Can randomtiger confirm that the "C# in Depth" is the following book?
http://www.amazon.com/C-Depth-What-need-master/dp/1933988363/ref=sr_1_1?ie=UTF8&s=books&qid=1232485710&sr=1-1
Thanks again.

【在 r*********r 的大作中提到】
: 入门: illustrated c# 2008
: 深入: c# in depth

r*********r
发帖数: 3195
22
yep
N********n
发帖数: 8363
23

Yes. If it's .Net, then stick to C#.
C++ standard template plus managed environment is scary. Templates
usually have their own delicate memory management mechanism that
conflicts with that of managed code. We had project like that b4,
there's mysterious crash all over the places when the two were mixed.

【在 c*********s 的大作中提到】
: definitely recommend programming .net using c# over c++. c++.net I'm sure
: can do anything the other supported languages can do with regards to the .
: net libraries but the changes they made to make c++ compatible make it not
: so pretty. c# was designed for .net and take advantage of the features
: naturally. and yes it is very much like c++ and java and should not be hard
: to pick up. just keep msdn.microsoft.com handy because you'll need to look
: up what the .net library can do to save on coding.

d***q
发帖数: 1119
24
a few months ago, we developed a grid management system for China petroleum
group (changqing oilfield company). The system is mainly implemented with C+
+/CLi.
k***r
发帖数: 4260
25
Poor them, hehe. It'll be relatively harder for them to
find people to maintain it.

petroleum
C+

【在 d***q 的大作中提到】
: a few months ago, we developed a grid management system for China petroleum
: group (changqing oilfield company). The system is mainly implemented with C+
: +/CLi.

1 (共1页)
进入Programming版参与讨论
相关主题
Perl/Python/.NET难道是搞网页的?微软open source .net还cross platform了,这意味着什么?
how to input arguments in visual C++ .NET求支持:在把C++编的cmake转成C#。。
从Java转到C#,值么? (转载)iOS程序开发有前途吗?
Was .NET all a mistake? (ZT)Question about delegate in C#
C++.net 和C++ 有什么不同? 很多有多年经验的Java程序员都会弄错的题目
谁能深入浅出的讲讲protocol和delegate的要点?还没被劝退C++的都来看看这个吧
这里高手很多, 我就趁机会问一个严肃的问题吧 .NET C++ debug状态下怎么用鼠标显示变量值
[合集] is there any software to do statistics for a program? (转载一个C#使用C++.NET类库的问题
相关话题的讨论汇总
话题: c++话题: c#话题: net话题: cli话题: visual