Visual C ++与Visual C#,哪个是最好的学习方法? [英] Visual C++ vs Visual C# , which is the best to learn?

查看:164
本文介绍了Visual C ++与Visual C#,哪个是最好的学习方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完成了C ++的课程和实践,然后开始使用Ivor Horton的Visual C ++一书学习Visual C ++。问题是我听不懂这本书的语言,并且很难理解代码。我想学习用于Windows应用程序开发的Visual C ++,并以此来发展自己的未来(也是因为我已经了解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 because I already know C++).

我的一些朋友告诉我改用C#因为它具有创建GUI等的许多库功能,并且告诉我很难用Visual C ++编写Windows应用程序。

Some of my friends told me to switch to C# since it has many library function to create GUI etc and told me it's hard to code Windows applications in Visual C++.

现在在这些假期中,我将加入课程,可以您帮我应该坚持哪种语言,哪一种会很容易?

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?

从一开始我就想学习Visual C ++,有时我觉得当我不学习时很难

From very beginning I want to learn Visual C++ and sometimes I think it's hard when I don't understand concept in reference books etc.

任何帮助将不胜感激,非常感谢您抽出宝贵的时间。

Any help will be very appreciated, thanks a lot for taking your precious time.

推荐答案

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#编写代码。同样,它们都允许您以点击的方式创建GUI。

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.

听起来像您真正想要做的是创建GUI。在这种情况下,如果没有更多信息,我建议您选择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 ++ 11标准中添加到C ++。

¹ these features have been added to C++ in the C++11 standard.


  • 模板元编程

  • Typedefs

  • 零开销原则

  • 强制执行const-correctness的方法

  • 如今生成极其优化代码的成熟编译器

  • 更广泛的平台支持

  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆