V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
wizardforcel
V2EX  ›  分享创造

C++参考的翻译或校对

  •  
  •   wizardforcel ·
    wizardforcel · 2016-02-07 22:28:52 +08:00 · 4539 次点击
    这是一个创建于 2972 天前的主题,其中的信息可能已经有所发展或是发生改变。
    做新年规划的时候,我说过要翻译 C++常用类的参考。 C++的参考,其实别人已经翻译完了,只是部分内容需要校对。由于网站结构中大量使用了模板,同一个函数只需要翻译一个地方,所以四天就弄完了。而且我没有翻译函数层级的页面,所以比较快。

    C++的参考其实最需要翻译。因为 C++为了填 C 继承过来的坑,标准库增加了很多用于替代的设施。而国内的教程更新缓慢,这份参考如果不翻译,我估计到了 2020 年也不会完全普及。

    以下是校对完成的类,希望大家继续参与:

    + [`<memory>`]( http://zh.cppreference.com/w/cpp/memory)
    + [`unique_ptr`]( http://zh.cppreference.com/w/cpp/memory/unique_ptr)
    + [`shared_ptr`]( http://zh.cppreference.com/w/cpp/memory/shared_ptr)
    + [`weak_ptr`]( http://zh.cppreference.com/w/cpp/memory/weak_ptr)
    + [`<chrono>`]( http://zh.cppreference.com/w/cpp/chrono)
    + [`duration`]( http://zh.cppreference.com/w/cpp/chrono/duration)
    + [`<functional>`]( http://zh.cppreference.com/w/cpp/utility/functional)
    + [`function`]( http://zh.cppreference.com/w/cpp/utility/functional/function)
    + `<utility>`
    + [`pair`]( http://zh.cppreference.com/w/cpp/utility/pair)
    + [`tuple`]( http://zh.cppreference.com/w/cpp/utility/tuple)
    + 字符串
    + [`basic_string`]( http://zh.cppreference.com/w/cpp/string/basic_string)
    + [Null 结尾的单字节字符串]( http://zh.cppreference.com/w/cpp/string/byte)
    + [Null 结尾的多字节字符串]( http://zh.cppreference.com/w/cpp/string/multibyte)
    + [Null 结尾的宽字符串]( http://zh.cppreference.com/w/cpp/string/wide)
    + 容器
    + [`array`]( http://zh.cppreference.com/w/cpp/container/array)
    + [`vector`]( http://zh.cppreference.com/w/cpp/container/vector)
    + [`deque`]( http://zh.cppreference.com/w/cpp/container/deque)
    + [`list`]( http://zh.cppreference.com/w/cpp/container/list)
    + [`forward_list`]( http://zh.cppreference.com/w/cpp/container/forward_list)
    + [`set`]( http://zh.cppreference.com/w/cpp/container/set)
    + [`multiset`]( http://zh.cppreference.com/w/cpp/container/multiset)
    + [`map`]( http://zh.cppreference.com/w/cpp/container/map)
    + [`multimap`]( http://zh.cppreference.com/w/cpp/container/multimap)
    + [`unordered_set`]( http://zh.cppreference.com/w/cpp/container/unordered_set)
    + [`unordered_multiset`]( http://zh.cppreference.com/w/cpp/container/unordered_multiset)
    + [`unordered_map`]( http://zh.cppreference.com/w/cpp/container/unordered_map)
    + [`unordered_multimap`]( http://zh.cppreference.com/w/cpp/container/unordered_multimap)
    + [`stack`]( http://zh.cppreference.com/w/cpp/container/stack)
    + [`queue`]( http://zh.cppreference.com/w/cpp/container/queue)
    + [`priority_queue`]( http://zh.cppreference.com/w/cpp/container/priority_queue)
    + [`bitset`]( http://zh.cppreference.com/w/cpp/utility/bitset)
    + I/O
    + [`ios_base`]( http://zh.cppreference.com/w/cpp/io/ios_base)
    + [`basic_ios`]( http://zh.cppreference.com/w/cpp/io/basic_ios)
    + [`basic_istream`]( http://zh.cppreference.com/w/cpp/io/basic_istream)
    + [`basic_ostream`]( http://zh.cppreference.com/w/cpp/io/basic_ostream)
    + [`basic_iostream`]( http://zh.cppreference.com/w/cpp/io/basic_iostream)
    + [`basic_ifstream`]( http://zh.cppreference.com/w/cpp/io/basic_ifstream)
    + [`basic_ofstream`]( http://zh.cppreference.com/w/cpp/io/basic_ofstream)
    + [`basic_fstream`]( http://zh.cppreference.com/w/cpp/io/basic_fstream)
    + [`basic_istringstream`]( http://zh.cppreference.com/w/cpp/io/basic_istringstream)
    + [`basic_ostringstream`]( http://zh.cppreference.com/w/cpp/io/basic_ostringstream)
    + [`basic_stringstream`]( http://zh.cppreference.com/w/cpp/io/basic_stringstream)
    + [`<regex>`]( http://zh.cppreference.com/w/cpp/regex)
    + [`basic_regex`]( http://zh.cppreference.com/w/cpp/regex/basic_regex)
    + [`match_results`]( http://zh.cppreference.com/w/cpp/regex/match_results)
    + [`<atomic>`]( http://zh.cppreference.com/w/cpp/atomic)
    + [数值库]( http://zh.cppreference.com/w/cpp/numeric)
    + [`ratio`]( http://zh.cppreference.com/w/cpp/numeric/ratio/ratio)
    + [`<cmath>`]( http://zh.cppreference.com/w/cpp/numeric/math)
    + [`complex`]( http://zh.cppreference.com/w/cpp/numeric/complex)
    + [`valarray`]( http://zh.cppreference.com/w/cpp/numeric/valarray)
    + [迭代器库]( http://zh.cppreference.com/w/cpp/iterator)
    + [算法库]( http://zh.cppreference.com/w/cpp/algorithm)

    [我的贡献列表]( http://zh.cppreference.com/w/Special:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Wizardforcel)
    9 条回复    2016-06-25 09:10:09 +08:00
    skydiver
        1
    skydiver  
       2016-02-07 22:33:08 +08:00
    支持翻译

    但是我还是坚持看英文版
    ybjaychou
        2
    ybjaychou  
       2016-02-08 00:53:08 +08:00 via Android
    感谢翻译
    htfy96
        3
    htfy96  
       2016-02-08 08:50:19 +08:00
    楼主辛苦了 原来的机翻根本不能看
    zado
        4
    zado  
       2016-02-08 20:12:09 +08:00
    感谢翻译!
    newkedison
        5
    newkedison  
       2016-02-08 21:35:07 +08:00 via Android
    感谢辛勤劳动,不过还是建议看英文的好
    shyling
        6
    shyling  
       2016-02-14 13:34:33 +08:00 via iPad
    好棒\^O^/
    hqs123
        7
    hqs123  
       2016-02-18 14:49:34 +08:00
    非常不错,多谢分享
    macrosea
        8
    macrosea  
       2016-04-13 10:38:16 +08:00
    very very good.
    提个建议: 一些 C++关键字不要翻译.比如在首页:
    容器库
    数组 ( C++11 )
    向量 − 双向队列
    列表 − 单向列表 ( C++11 )
    集合 − 多重集合
    映射 − 多重映射

    ===>
    容器库
    array ( C++11 )
    deque − 双向队列
    wizardforcel
        9
    wizardforcel  
    OP
       2016-06-25 09:10:09 +08:00 via Android
    @macrosea 那个不是我改的,而且你可以自己提交。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1339 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:37 · PVG 07:37 · LAX 16:37 · JFK 19:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.