c++ - C++ 程序员不知道以 null 结尾的字符串是如何工作的,这是否可以接受?

标签 c++ string

<分区>

有什么方法可以让拥有 1.5 年经验的 C++ 程序员不知道以 null 结尾的字符串作为一个概念存在并广泛用于各种应用程序中?这是否表明他可能是一个糟糕的雇员?

最佳答案

Is there any way for a C++ programmer with 1,5 years of experience to have no idea that NULL-terminated strings exist as a concept and are widely used in a variety of applications?

没有。这 1.5 年他/她都在做什么?

Is this a sign that he is potentially a bad hire?

是的。 C++ 程序员必须具备 C 知识。

关于c++ - C++ 程序员不知道以 null 结尾的字符串是如何工作的,这是否可以接受?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/657248/

相关文章:

java - 在Java中手动修剪字符串(不使用String.trim())

c - 如何将字符串分配给C中的变量

.net - 这是在 vb.net 中用 null 初始化字符串的最佳方法

c++ - 我需要帮助开发多态引擎 - 指令依赖树

c++ - 防止 boost::asio::io_context 在空轮询调用时停止

c++ - 在以下 C++ 语句中放置 const 的好地方是什么

c++ 当我将字符串转换为 int 时,int 只是一个随机数?

swift - 在 Swift 中打乱字符串中的字符

c++ - 如何实现is_polymorphic_functor?

c++ - 使用 egl (opengl) 和 freetype2 在屏幕上呈现文本时不显示文本