Skip to content

[讨论] 本仓库的建议、讨论等方面 #12

Description

@huihut

这个仓库原本只是我的个人笔记,鉴于越来越多人关注,而本人技术略渣,希望大家可以提些建议,或者可以在这个 issue 讨论些关于面试方面的东西。比如:

  • 需要增加什么知识点?
  • 如何分类排版才更高效地复习与检索?
  • 如何勘误,发现错误如何改正?(new issue、pull)
  • 如何提交或添加你的知识点、总结、面经?(new issue)
  • 等等

(本 issue 只涉及讨论、建议、疑问等方面,内容勘误、提交贡献还请新建一个 issue 或 pull)

Activity

  1. changed the title [-][讨论] 本仓库的建议、讨论等方面,来水一水![/-] [+][讨论] 本仓库的建议、讨论等方面[/+] on Aug 19, 2018
  2. chanwoood commented on Sep 14, 2018

    @chanwoood

    面试时发现自己没啥项目经验,希望增加一些项目,只需给出项目的链接即可。

  3. huihut commented on Sep 14, 2018

    @huihut
    OwnerAuthor

    @96chh

    关于项目经验,这个在简历中还是写自己做过的项目好,这里有几个可以看看:

    另外,这个我就不加到仓库里了,因为这个太因人而异了,和面试知识关系不大。

    希望能帮到你。

  4. kelvinkuo commented on Oct 27, 2018

    @kelvinkuo
    Contributor

    建议 @huihut
    STL中的容器类型表,建议加上最差、平均的算法复杂度

  5. huihut commented on Oct 27, 2018

    @huihut
    OwnerAuthor

    @kelvinkuo 已添加,可以看看是否有错误

  6. xinghun commented on Dec 15, 2018

    @xinghun

    “带纯虚函数的类叫虚基类”这一描述怕是有误。虚基类,virtual base class,对应的概念是虚继承,跟纯虚函数没啥关系,含有纯虚函数的类叫抽象类或抽象基类,abstract base class,还有其他叫法么?

  7. added a commit that references this issue on Dec 15, 2018
  8. huihut commented on Dec 15, 2018

    @huihut
    OwnerAuthor

    @xinghun 已改,感谢

  9. huihut commented on Dec 25, 2018

    @huihut
    OwnerAuthor

    新增语雀镜像仓库(C/C++ 面试基础知识总结),让想要右侧目录却又不喜欢装插件的朋友有了更多选择,同时语雀支持导出PDF、Word等功能。

  10. huihut commented on Dec 25, 2018

    @huihut
    OwnerAuthor

    Q:为什么 readme 文件这么长?
    A:一级页和多级页各有优劣,但在快速查找知识点 (如电话面) 和全文搜索的时候,一级页有着多级页无法比拟的优势,因此本仓库的知识点主要集中在 readme 这个一级页中,所以 readme 才这么长。

  11. huihut commented on Feb 27, 2019

    @huihut
    OwnerAuthor

    💡 许多朋友都觉得 readme 实在太长了,因此现在做了两个版本:

    默认主页面是合起来的 📘 目录,习惯了原来全部展开的朋友在 📖 README Details 页面阅读就好了。

    💡 推荐使用右侧目录 jawil/GayHub TOC 导航,三秒定位知识点。

    💡 还有把之前在顶部的这串内容也删了:

    📚 C/C++ 面试基础知识总结,只为复习、分享。勘误新增请 Issue、PR,建议、讨论请移步 issues/12,排版使用 中文文案排版指北,版权协议遵循 CC BY-NC-SA 4.0。

    萌即正义!
    简洁即正义!

  12. huihut commented on Mar 5, 2019

    @huihut
    OwnerAuthor

    @lorenzorut 是常指针,不一定指向常对象

    int a = 1;
    const int b = 2;
    const int *c = &a;    //正确
    c = &b;               //正确
    *c = b;               //错误

    你可以看看 http://www.runoob.com/w3cnote/c-constant-pointer.html

  13. lorenzorut commented on Mar 5, 2019

    @lorenzorut

    嗯,明白你说的意思。我刚表述的也不是指一定指向“常对象”,我是把“常指针” 当成 “指针常量”了,然后发现原来你说的是“常量指针”,所以又删了。不过runoob的链接里面关于“指针常量”的表述反倒有误。

    不过,关于“void function3(char* const Var); // 参数指针为常指针” 是否有误?
    此处指针应为“指针常量”,而非“常量指针“? @huihut

    又详细了解了下,发现“常指针” 等价于 “指针常量”,所以“void function3(char* const Var); // 参数指针为常指针” 此处无误。Var指针为指针常量,即常指针,指向地址不能更改,指向地址的内容可以修改。
    void function()
    {
    // 对象
    A b; // 普通对象,可以调用全部成员函数
    const A a; // 常对象,只能调用常成员函数、更新常成员变量
    const A *p = &a; // 常指针
    const A &q = a; // 常引用
    ...
    }
    “const A *p = &a; // 常指针” 该处,仍然有误,p指针指向一个“常对象”,属于“常量指针”,指向内容不能更改,指向地址可以随意更改,而非“常指针” @huihut

  14. huihut commented on Mar 5, 2019

    @huihut
    OwnerAuthor

    @lorenzorut 常指针(const pointer) 等于 常量指针(const pointer) 不等于 指针常量(pointer to const)

    我检查了一遍,仓库的 const 使用并没有错,你再想想或者网上找找教程吧。

    另外,勘误最好创建一个新的 issue。

  15. 39 remaining items

  16. Sneexy commented on Apr 3, 2021

    @Sneexy

    看到楼上提到设计模式,推荐这个网站,讲得很通俗易懂,分类清晰,附有伪代码和各种语言的实现,https://refactoringguru.cn/design-patterns

  17. VoidmatrixHeathcliff commented on Jun 13, 2021

    @VoidmatrixHeathcliff

    关于 typeid 部分,第二个列表项的 type_id 是否应该为 typeid?🤔

  18. ybybwdwd commented on Dec 30, 2021

    @ybybwdwd

    计算机网络那里,TCP应该端到端通信吧,ip协议才是点对点

  19. w272628569 commented on Dec 30, 2021

    @w272628569
  20. w540665710 commented on Dec 30, 2021

    @w540665710
  21. Kinvy66 commented on Nov 9, 2023

    @Kinvy66

    关于C++ 纯虚函数,纯虚函数是可以在类外进行具体实现的定义,详见:https://stackoverflow.com/questions/2089083/pure-virtual-function-with-implementation

  22. added 2 commits that reference this issue on Jul 27, 2025
  23. removed
    questionFurther information is requested
    on Jul 27, 2025
  24. xhy214 commented on Aug 22, 2025

    @xhy214
    Contributor

    是否可以添加并进一步完善现有容器

  25. w272628569 commented on Aug 22, 2025

    @w272628569
  26. DaweiWangBIT commented on Aug 22, 2025

    @DaweiWangBIT
  27. sunTFly commented on Sep 24, 2025

    @sunTFly

    可以添加 CMakeLists.txt和Makefile的知识

  28. added a commit that references this issue on Oct 30, 2025
    ef6e664
  29. codomposer commented on Oct 31, 2025

    @codomposer

    I've added new algorithm, data structure and design pattern in the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions