gpt4 book ai didi

c - Pix、struct Pix 或 Leptonica 中的 PIX

转载 作者:行者123 更新时间:2023-11-30 17:44:34 25 4
gpt4 key购买 nike

我已经能够成功地在 Tesseract 中使用“Pix”类型(参见 http://code.google.com/p/tesseract-ocr/wiki/APIExample ),但在 pix.h(Leptonica 库的)中只定义了“struct Pix”和“PIX”。 “Pix”(没有“struct”关键字)似乎没有被定义,但它必须被定义somehwere

在标题中搜索“Pix”会出现太多匹配项,无法浏览其含义。有谁知道为什么“Pix”有效?

最佳答案

Per @Eddy_Em:就是这样:在 C++ 中你不需要写“struct A”,你可以只写“A”。

关于c - Pix、struct Pix 或 Leptonica 中的 PIX,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19946071/

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