gpt4 book ai didi

c++ - "by the bytes"与 "in bytes"

转载 作者:太空宇宙 更新时间:2023-11-04 14:50:07 29 4
gpt4 key购买 nike

<分区>

template<class CharType>
struct StringWithLength
{
size_t length;
CharType* str_buf;
};

我想对字段长度添加一些注释。我有两个选择:

#1. "The field length is the size of str_buf by the byte" 
(Consider "The worker is paid by the hour")

#2. "The field length is the size of str_buf in bytes"

从以英语为母语的人的角度来看,哪个更自然?

谢谢。

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com