Project ideas to become good at C++

前端 未结 5 1743
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 22:01

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 go

5条回答
  •  旧时难觅i
    2021-02-01 22:22

    in my opinion if you make some small project using

    • http://www.boost.org/doc/libs/1_41_0/doc/html/thread.html
    • http://www.boost.org/doc/libs/1_43_0/libs/spirit/phoenix/doc/html/index.html
    • http://www.boost.org/doc/libs/1_43_0/libs/numeric/ublas/doc/index.htm
    • http://www.boost.org/doc/libs/1_42_0/doc/html/proto.html

    you can get into the advanced C++ topics like expression templates. the project even does not have to do anything useful, as long as you are able to put pieces together to produce some output.

    if you know some C++, you can have a lot of fun pushing language to limits with phoenix alone.

    as far as ideas, CGI is likely to be heavy in mathematics, try for example writing parallel integration algorithm using expression templates.

    for example, you can create syntax like this:

    integrate(x*x + sin(x), 0, 100, threads(4));
    

提交回复
热议问题