我应该先学会前往C ++之前? [英] What should I learn first before heading to C++?

查看:145
本文介绍了我应该先学会前往C ++之前?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我学习C,但之后或同时,我应该先学,随后越来越成C ++之前?编译器,数据结构,UML或设计模式?(也时开始学习Win32 API的?)我不赶时间可言,这样我就可以掌握从最深开始的要求。我只是不想迷路是粗略的和过失。

I'm learning C, but after that or in the meanwhile, what should I learn first and subsequently before getting into C++ ? Compilers, Data Structures, UML or Design Patterns ?(also when start to learn Win32 API ?) I'm not in a hurry at all, so I can grasp the requirements from the deepest beginning. I just don't want to get lost for being cursory and negligent.

除此之外,该科目数学对编码很好的影响最大?线性代数,离散数学,微积分?

In addition to this, which subjects on mathematics has most impact on coding very well ? Linear Algebra, Discrete Mathematics, Calculus ?

如果有人引导我通过这次旅程,我会心存感激。还有我想知道答案的许多问题。谢谢你。

I'll be thankful if someone guides me through this journey. There are many questions I would like to know the answers. Thanks.

推荐答案

首先,你应该知道C ++是的不可以卓越的语言。 C有它的用途比作为一个敲门砖成C ++以上。 C和++是因为它们C风格C:

First you should learn that C++ is not a superior language. C has its uses as more than a stepping stone into C++. C, and "C-style" C++ are used because they:


  • 生成较小的二进制文件

  • 使用更少的内存

  • 编译更快

  • 请不要需要操作系统支持

  • 更简单,也更容易实现

数据结构是迄今为止最有用的列出学习,随后的算法。如果你打算进入C ++,它也是有用的(强制?)有良好的设计技巧。

Data structures are by far the most useful of the listed to learn, followed by algorithms. If you intend to go into C++, it's also useful (mandatory?) to have good design skills.

您不一定在所有学习的Win32。考虑学习 POSIX API的 GTK + 升压,因为他们更便携,Windows以外的平台上工作。

You should not necessarily learn Win32 at all. Consider learning the POSIX APIs, GTK+ and Boost, as they're more portable, and work on platforms other than Windows.

您可以做出最好的决定就是学习C 的彻底在Unix平台上的一个单独的技能,crutching前自己通过不能够看到C和C ++之间的差异。

The best decision you can make is to learn C thoroughly as a separate skill on a Unix platform, before crutching yourself by not being able to see the difference between C and C++.

上市数学学科,我只用离散数学。线性代数也是有用的,但到目前为止,并离开编程最好的学科设置与数论。

Of the listed Mathematics disciplines, I've only used discrete mathematics. Linear algebra is also useful, but by far and away the best discipline for programming is set and number theory.

您可在C时间,不会变得依赖于在Windows / Visual Studio中,也不要急于进入C ++。

Enjoy your time in C, don't become dependent on Windows/Visual Studio, and don't rush into C++.

差点忘了!你绝对的必须的使用一个体面的C编译器。中央之所以C ++的企业广泛使用,并且名声不好C的Windows开发人员之间的Visual Studio中。 Visual Studio中无疑是最好的C ++ IDE,但它也是最糟糕的C编译器,我知道的。一定要使用C编译器与C99的支持,如 GCC ,的 MinGW的。我对C第一个经验是使用 LCC ,这是很容易在Windows上使用,但我避风港 t一起使用它,因为转向Linux,所以我不能在其C99的地位发表评论。

Almost forgot! You absolutely must use a decent C compiler. A central reason to C++'s wide use in enterprise, and the bad reputation C has among Windows developers is Visual Studio. Visual Studio is easily the best C++ IDE, however it's also the worst C compiler I know of. Be sure to use a C compiler with C99 support, such as GCC, mingw or Clang. My first experience with C was using LCC, which was very easy to use on Windows, but I haven't used it since moving to Linux, so I can't comment on its C99 status.

这篇关于我应该先学会前往C ++之前?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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