gpt4 book ai didi

c++ - 在数字常量之前预期为 ',' 或 '...'

转载 作者:太空狗 更新时间:2023-10-29 19:53:17 25 4
gpt4 key购买 nike

<分区>

我放弃了。谷歌也没有回答我或文档。这里有什么问题吗?

" In file included from x.cpp:7: /Users/user/Dropbox/Projects/Arduino/libraries/Range/Range.h:27: error: expected identifier before numeric constant /Users/user/Dropbox/Projects/Arduino/libraries/Range/Range.h:27: error: expected ',' or '...' before numeric constant "

//
// Range.h
// Handles range to ground and altitude
//
// Created by x on 2013-03-27.
//
//

#ifndef RANGE_H_
#define RANGE_H_

#include "NewPing.h"

#define BOTTOM_RF_PIN 5
#define BOTTOM_RF_ECHO_PIN 10
#define BOTTOM_RF_MAX 200


class Range {
public:
Range();
void init();
float toGround();
float toCeiling();
float altitude();
private:
NewPing bottomRF(BOTTOM_RF_PIN, BOTTOM_RF_ECHO_PIN, BOTTOM_RF_MAX);

};

#endif /* RANGE_H_ */

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