腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(1318)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
3
回答
cstdint
与tr1/
cstdint
的区别
<
cstdint
>和<tr1/
cstdint
>有什么区别?因此,在c++0x标准化之前,必须使用<
cstdint
>发出错误,但是在添加到tr1::名称空间时,您不必担心,这并不意味着其中的内容是标准的?或者还有更多的原因呢? 谢谢。
浏览 1
修改于2010-07-02
得票数 3
回答已采纳
2
回答
cstdint
代表什么?
我知道作为一个标题来提供更准确的数字描述,但是实际的标题名称代表什么呢?词的词源是什么?
浏览 8
修改于2021-08-28
得票数 1
回答已采纳
4
回答
Boost的"
cstdint
“用法
我是否应该在boost/
cstdint
.hpp上编写一个包装器,利用选项№2并完成它?此外,像这样包装头在VC++ 10 (标准库头的问题)上也不起作用:{ #include <stdint.h> name
浏览 6
修改于2012-05-01
得票数 5
回答已采纳
5
回答
我应该使用
cstdint
吗?
我一直在考虑是否应该在<
cstdint
>中使用typedefs。 我个人更喜欢写uint32_t而不是unsigned int,更喜欢int8_t而不是char等等。因为它对我来说要直观得多。使用<
cstdint
>中的typedefs是不是一个好主意?有什么缺点吗?
浏览 6
修改于2012-11-14
得票数 42
回答已采纳
3
回答
<
cstdint
> vs <stdint.h>
stdint.h和
cstdint
之间的区别是什么是否有理由在std命名空间中包含或不包含已定义的类型?这两个标头之间有什么不同?
cstdint
没有文件扩展名并使用c前缀,stdint.h使用.h扩展名。 此标头的命名约定是什么?c前缀表明这是一个C库?
cstdint
中没有文件扩展名是有原因的
浏览 233
修改于2013-04-17
得票数 104
回答已采纳
2
回答
OpenCV -找不到'
cstdint
‘文件
see invocation)/usr/local/include/opencv2/hal/defs.h:271:14:找不到'
cstdint
浏览 7
修改于2015-09-14
得票数 3
1
回答
超出
cstdint
的数值类型
我经常在代码中使用
cstdint
中的类型(比如uint32_t),但现在它们不太符合我的需要,特别是在模板方面。 有没有办法指定一个两倍于模板参数大小的整数类型?
浏览 0
修改于2017-05-23
得票数 4
回答已采纳
3
回答
<
cstdint
>与std::size_t类型
我的问题是:为什么不选择使用来自<
cstdint
>的<
cstdint
>而不是std::size_t和intmax_t而不是std::ssize_t
浏览 4
提问于2014-05-14
得票数 4
回答已采纳
3
回答
`<
cstdint
>`中使用的命名约定
<
cstdint
> (<stdint.h>)标头定义了几个整型,它们的名称遵循以下模式:intN_t,其中N是位数,而不是字节数。
浏览 0
提问于2012-03-18
得票数 6
回答已采纳
1
回答
Clang OS X Lion,找不到
cstdint
我正在尝试编译一个使用
cstdint
的应用程序。由于苹果弃用了gcc,我想试着用clang编译它,但我得到了错误:我知道gcc 4.6.2版本有-std=c++0x的选项,
浏览 0
提问于2012-04-12
得票数 18
回答已采纳
1
回答
编译pytorch时出错:“
cstdint
”文件未找到
Users/ezyang/Dev/pytorch-tmp/torch/lib/tmp_install/include/THPP/Storage.hpp:6:10: fatal error: #include <
cstdint
>1 error generated.Users/ezyang/Dev/pytorch-tmp
浏览 60
提问于2017-04-26
得票数 0
回答已采纳
1
回答
使用PiP安装Pydaedalus时
Cstdint
丢失错误
_maze.cpp:467:daedalus/src/util.h:31:10: fatal error: '
cstdint
' file not found ^error: command '/usr/bin/clang'我还使用
cstdint</e
浏览 1
修改于2017-11-15
得票数 2
回答已采纳
1
回答
cstdint
string include int /usr/ c++>C11 /c++/8/
cstdint
:53:11: error:‘::int_fast8_t’尚未声明
当我添加#include并且我被引用到
cstdint
时,我得到了一个错误消息。这缺少以下声明: using:: int64_t;/ usr / include / c ++ / 8 /
cstdint
:
浏览 15
修改于2020-02-07
得票数 0
1
回答
Keil uVision4 armcc:使用C++标准包括<
cstdint
>
但是uVision拒绝接受标准的C++包含方式不工作,当效果很好。当我在uVision中打开
cstdint
(右键单击,打开文档)时,它会打开文件,但作为通用文件打开,例如不是头文件,没有花哨的颜色。 #include <
cstdint
> and typedef uint32_t u
浏览 7
修改于2012-10-31
得票数 2
5
回答
在<
cstdint
>中使用带或不带命名空间的类型
我的问题是:使用
cstdint
中的typedefs的推荐方式是什么。使用还是不使用名称空间?有什么优势或劣势?或者这只是一个风格问题?所以变体a):std::uint8_t n = 21;#include <
cstdint
>uint8_t n= 21;#include <
cstdint
> uint8_t n = 21;
浏览 2
修改于2018-07-21
得票数 15
回答已采纳
1
回答
Xcode找不到桥接头中包含的
cstdint
。
但是,我无法在导入到桥接头的任何头文件中包含许多标准 C++头(如
cstdint
)。我在这次调查中查了几件相关的事情: I是,能够导入stdint.h (标头的旧版本?)很好,但是如果我包含
cstdint
,桥接头的预处理就会失败,说明它找不到
cstdint
。"gnu11".Build ,我可以在.mm文件中导入
cstdint
,而没有问题。
浏览 5
修改于2022-06-13
得票数 0
回答已采纳
1
回答
为什么可以找到stdint.h,但不能找到
cstdint
?
我对包括stdint.h工作而不包括
cstdint
感到惊讶。$ aCC sizeof.cpp #include<
cstdint
>$ aCC --version
浏览 60
修改于2012-05-02
得票数 8
回答已采纳
4
回答
从C文件调用C++标准标头(
cstdint
)
我有一个用C++编写的外部库,如#ifndef OUTPUT_FROM_CPP_Hextern但我的编译器告诉我在我的C项目中使用时#include "external.h" { return a
浏览 23
提问于2022-05-10
得票数 2
回答已采纳
1
回答
为什么C++编译器不能实现<
cstdint
>?
造成这种情况的原因是什么,以及如何从原始代码移植大量#include <
cstdint
>?
浏览 8
提问于2022-11-11
得票数 0
回答已采纳
1
回答
BOOST/
CSTDINT
类型的BOOST稀疏向量数组;失败,为什么?
早上好,#include <new>#include <boost/numeric/ublas/vector_sparse.hpp>#include <boost/
cstdint
.hpp> boost::numeric:
浏览 4
修改于2014-03-21
得票数 2
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券