大约有 600 项符合查询结果(耗时:0.0055秒) [XML]
vc/mfc *通配符 批量删除文件 - c++1y / stl - 清泛IT社区,为创新赋能!
直接上代码,可直接运行亲测有效,使用SHFileOperation函数:
#include "stdafx.h"
#include <windows.h>
int _tmain(int argc, _TCHAR* argv[])
{
LPTSTR delFileName = L"c:/test/test*.txt";
...
%d,%c,%s,%x等转换符 释义 - C/C++ - 清泛IT论坛,有思想、有深度
... 有符号十进制整数
%f 浮点数(包括float和doulbe)
%e(%E) 浮点数指数输出[e-(E-)记数法]
%g(%G) 浮点数不显无意义的零"0"
%i 有符号十进制整数(与%d相同)
%u 无符号十进制...
APP INVENTOR硬件交互学习教程04——蓝牙控制继电器 - 创客硬件开发 - 清泛...
...
串口接收字符,并输出控制继电器
// 引脚定义
const int ledPin1 = 5;// the number of the LED pin
const int ledPin2 = 6;
const int ledPin3 = 3;
const int bluePin = 6;// the number of the LED pin
const int greenPin = 5;
const in...
APP INVENTOR硬件交互学习教程06——硬件参数上报 - 创客硬件开发 - 清泛IT...
...理和显示判断
3.arduino nano代码
// 引脚定义
const int ledPin1 = 5;// the number of the LED pin
const int ledPin2 = 6;
const int ledPin3 = 3;
const int bluePin = 6;// the number of the LED pin
const int greenPin = 5;
const int ...
APP INVENTOR硬件交互学习教程07——多个参数上报 - 创客硬件开发 - 清泛IT...
...码,温度和电位计使用随机数生成
// 引脚定义
const int ledPin1 = 5;// the number of the LED pin
const int ledPin2 = 6;
const int ledPin3 = 3;
const int bluePin = 6;// the number of the LED pin
const int greenPin = 5;
const int...
用户反馈ble广播数据收不到 - 用户反馈 - 清泛IT社区,为创新赋能!
https://www.fun123.cn/reference/ ... l#AdvertisementData
MCU&物联网:
就用这个函数,serviceuuid怎么填都不对,就是获取个广播数据不知道为什么还需要uuid
MCU&物联网:
你看看能搞定这一块吗?要是可以的话我就先买个离线版的,在...
stdbool.h C99标准杂谈 - c++1y / stl - 清泛IT社区,为创新赋能!
include <stdbool.h> 找不到头文件???
bool 是C++中的关键字,C中不支持
所以C99标准中引入了头文件 stdbool.h,包含了四个用于布尔型的预定义宏:
#define true 1
#define false 0
#define bool _Bool
typdef int _Bool
但是很遗憾,Visual C++...
ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope -...
pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义:typedef unsigned long int pthread_t;复制代码它是一个线程的标识符。
#include <pthread.h> 解决。
Linux automake自动编译全攻略 - 脚本技术 - 清泛IT社区,为创新赋能!
...bsp;Makefile
lib/Makefile
])
AC_OUTPUT()复制代码
build.sh:(脚本说明了automake执行步骤及输出)
#!/bin/sh
# configure.in -> aclocal.m4
aclocal
# aclocal.m4 -> configure
autoconf
# avoid: required file `build/ltmain.sh' not found
# --copy ...
error C2143:语法错误 : 缺少“;”(在“*”的前面) error C4430:缺少类型...
1>d:\xxx\childfrm.h(73): error C2143: 语法错误 : 缺少“;”(在“*”的前面)
1>d:\xxx\childfrm.h(73): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
一般这个错误是没有include头文件导致,
仔细检查下 .h 中是不是定义...