VISUAL C ++与的Visual C#,这是最好的学习呢? [英] Visual C++ versus Visual C# , which is the best to learn?
问题描述
我已经做了我的C ++类和实践之后,我开始学习VISUAL C ++使用本书艾弗霍顿的VISUAL C ++。问题是,我无法理解这本书的语言,严重试图了解代码。我想学习的Visual C ++的Windows应用程序的开发,使我的未来在。 (也因为我已经知道C ++)
I've done my C++ classes and practices after which i started learning Visual c++ using book Ivor horton's visual c++ . The problem is that i am unable to understand the language of this book and badly trying to understand the codes . I want to learn visual c++ for windows application development and making my future in that. (also cause i already know c++)
我的一些朋友告诉我,切换到C#,因为它有很多库FN创建图形用户界面等,并告诉我,这是很难的代码窗户appz在VC ++。
Some of my friends told me to switch to C# since it has many library fn to create GUI etc and told me it's hard to code windows appz in VC++.
现在在这些假期我要去参加班,你能帮助我,我应该坚持哪些语言,哪一个会是容易的。
Now in these holidays i am going to join classes , can you help me which language i should stick to , and which one will be easy.
从一开始我想学习VC ++,有时我想,当我不明白,在文献书籍等概念也很难。
from very beginning i want to learn VC++ and sometimes i think it's hard when i don't understand concept in ref books etc.
和帮助将是非常赞赏,非常感谢抽出您宝贵的时间给我。
and help will be very appreciated , thanks a lot for taking your precious time for me.
推荐答案
的Visual C ++和Visual C#不语言也没有 GUI框架;他们的集成开发环境 - IDE中。这意味着他们是适合发展的任务文本编辑器。
Visual C++ and Visual C# are not languages nor GUI frameworks; they are Integrated Development Environments - IDEs. This means they are text editors tailored to the task of development.
的Visual C ++,您可以在C ++代码时,Visual C#,您可以在C#代码。此外,无论是让你在一个点和点击的方式创建图形用户界面。
Visual C++ lets you code in C++, Visual C# lets you code in C#. Also, both let you create GUIs in a point-and-click manner.
听起来像是你真正想要做的是创建图形用户界面。在这种情况下,无需进一步的信息,我建议你去为C#。这是一个比C ++更清洁的语言,它具有较少的方式来搬起石头砸自己的脚,它提供了访问非常有用的.NET框架。
Sounds like what you really want to do is create GUIs. In that case, without having further information, I recommend you go for C#. It is a much cleaner language than C++, it has fewer ways to shoot yourself in the foot, and it provides access to the immensely useful .NET framework.
- 全自动内存管理
- <击> lambda函数罢工>¹
- <击>类型推断击>¹
- 反射
- 远程
- 自动序列化
- 真正的实体类型
- 属性
- 数据库集成通过LINQ
- 通过LINQ方便的函数式编程
- 无头文件
- 无未定义行为
- 语言
- 一次编译,到处运行
- Fully automatic memory management
Lambda functions¹Type inference¹- Reflection
- Remoting
- Automatic serialization
- True entity types
- Properties
- Database integration via LINQ
- Convenient functional-style programming via LINQ
- No header files
- No undefined behavior
- Direct interoperability with many languages
- Compile once, run everywhere
¹这些功能已经被添加到C ++中的C ++ 11标准。
¹ these features have been added to C++ in the C++11 standard.
- 模板元编程
- 的typedef
- 零开销原则
- 表示执行常量,正确性
- 成熟的编译器时下产生极其优化的代码
- 更广泛的平台支持
提供
- Template metaprogramming
- Typedefs
- Zero-overhead principle
- Means to enforce const-correctness
- Mature compilers that produce extremely optimized code nowadays
- Much wider platform support
这篇关于VISUAL C ++与的Visual C#,这是最好的学习呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!