项目想法变成好C ++ [英] Project ideas to become good at C++

查看:145
本文介绍了项目想法变成好C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在工作中进入C ++团队。他们的工作是用C ++编写CGI(主要但不限于)。我知道基本的C ++。阅读 C ++图书指南问题上的列表,我已经从朋友那里得到了三本书(我其实有第一本)。

I want to get into C++ team at work. Their job is to write CGIs in C++ (mainly but not limited to). I know basic C++. Reading the list at C++ book guide question on SO, I've got three books from a friend (I actually had the first one).


  1. C ++编程语言 - Bjarne Stroustrup - 供参考

  2. C ++模板完整指南 - David Vandevoorde / Nicolai M. Josuttis

  3. 现代C ++设计 - Andrei Alexandrescu








  1. 我想知道,如果有任何项目或想法,你可以告诉我,我可以实现,以便我更好地。

  1. I would like to know if there are any projects or ideas you can tell me that I can implement so that I get better at it.

我需要的设置。我有一个Macbook和一个个人沮丧的Ubuntu dev服务器机器。

The setup I need. I have a Macbook and a personal crappy Ubuntu dev server machine. I can bootcamp to install any OS if need be.

你也可以给我一些关于如何开始编写CGI(或任何教程)的建议吗? / p>

Can you please also give me some suggestions on how to begin writing CGI (or any tutorial)?






非常感谢。


Thanks a lot.

AJ

推荐答案

让我添加到您的阅读材料列表; C ++常见问题解答Lite 绝对是学习C ++的最佳方式的最佳资源。它作为旧计时器的参考和作为初学者的介绍是有用的。我强烈建议您阅读尽可能多的内容,并尝试在加入实际项目之前展示每个功能的小例子。

Let me add to your list of reading material; the C++ FAQ Lite is absolutely the best resource for learning the ins and outs of C++. It is useful both as a reference for old timers and as an introduction to beginners. I would strongly recommend reading as much of it as you possibly can, and try small examples that demonstrate each feature mentioned before joining an actual project.

一旦你觉得有点舒服该语言,那么我建议您查看 Github ,看看是否有任何 C ++项目,需要一些帮助。对于计算机生成的图像或公共网关接口,这两者都是语言不可知的。这些可以用任何编程语言编写,尽管不同的编程语言将有不同的现有库来处理它们。我建议你阅读这个主题,以更好地了解标准/算法(取决于你的意思)。一旦你对这个主题更熟悉,你应该能更好地理解相关库的文档。

Once you feel somewhat comfortable in the language, then I would recommend taking a look at Github and seeing if there are any C++ projects that are in need of some help. As for the computer generated imagery or the common gateway interface, both of these are language agnostic. These can be written in any programming language, though different programming languages will have different existing libraries for handling them. I suggest you read up on the subject to better understand the standard/algorithms (depending on which of the two you had meant). Once you are more familiar with the subject, you should be in a better position to understand the documentation of relevant libraries.

至于开发环境,我发现Ubuntu是最简单的配置,因为几乎所有的安装程序都可以简化为一系列 apt-get install 命令。例如:

As for the development environment, I find that Ubuntu is the easiest one to configure, because almost all setup can be reduced to a series of apt-get install commands. For example:

sudo apt-get install build-essential

无论使用哪个操作系统,您都可能希望在可预测的可重现环境中构建和运行代码。我还应该指出,您开发的环境不需要与您实际构建和运行代码的环境相同。例如,您可以在Mac OS X上编写所有代码,但在 Docker 容器中构建并执行代码这是运行一个Ubuntu实例与您的预设,可重现的构建/运行配置。

Regardless of which OS you use, you will probably want to build and run your code in a predictable, reproduceable environment. I should also point out that the environment that you develop on does not need to be the same as the one on which you actually build and run your code. For example, you could write all your code on Mac OS X, but build and execute your code in a Docker container that is running an Ubuntu instance with your preset, reproduceable build/run configuration.

关于实现CGI在C ++(和其他代码)的资源,请查看我的网站上的 C ++资源页面。它列出了网络,计算机图形和其他C ++任务的几个工具,以及通用库,如Boost和Qt。

In terms of resources to implement CGI in C++ (and for other code), please check out the C++ resources page on my website. It lists several tools for networking, computer graphics, and other C++ tasks, as well as general purpose libraries such as Boost and Qt.

这篇关于项目想法变成好C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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