上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 308 下一页
摘要: 参考以下代码: import pyttsx3 # 创建TTS引擎对象 engine = pyttsx3.init() # 设置语音属性 engine.setProperty('rate', 218) # 设置语速为150 engine.setProperty('volume', 1.0) # 设置音 阅读全文
posted @ 2023-03-25 17:14 我不是萧海哇~~~ 阅读(158) 评论(0) 推荐(0)
摘要: 简介 Source Insight是一个功能非常强大的,面向项目的程序编辑器,具有针对C/C ++,C#,Java,Objective-C等的内置动态分析。Source Insight可实现多文件代码中变量和函数的快速搜索,有利于代码的搜索与阅读,能够轻松地浏览和编辑代码,同时自动显相关信息,轻松跳 阅读全文
posted @ 2023-03-20 11:35 我不是萧海哇~~~ 阅读(2196) 评论(0) 推荐(0)
摘要: 以下是 C 语言实现 HTTP 文件下载的断点续传示例代码。假设要下载的文件 URL 为 http://example.com/example.zip,本地保存为 example.zip。 #include <stdio.h> #include <stdlib.h> #include <curl/c 阅读全文
posted @ 2023-03-15 14:19 我不是萧海哇~~~ 阅读(1089) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> #include <boost/asio.hpp> using boost::asio::ip::tcp; int main() { try { boost::asio::io_service io_service; // 阅读全文
posted @ 2023-03-14 18:31 我不是萧海哇~~~ 阅读(563) 评论(0) 推荐(0)
摘要: void createAlpaMat(Mat &mat) { for(int i=0;i<mat.rows;i++) { for(int j=0;j<mat.cols;j++) { Vec4b &rgba=mat.at<Vec4b>(i,j); rgba[0]=UCHAR_MAX; rgba[1]= 阅读全文
posted @ 2023-03-13 21:46 我不是萧海哇~~~ 阅读(179) 评论(0) 推荐(0)
摘要: 只两天在做C++的开发,需要一个时间的字符串,星期为中文,精确到毫秒。网上查了一些资料总结如下: #include <windows.h> string getTimeNow() { SYSTEMTIME sys; GetLocalTime(&sys); char nowTime[40]; char 阅读全文
posted @ 2023-03-09 17:58 我不是萧海哇~~~ 阅读(59) 评论(0) 推荐(0)
摘要: 很多时候,柔性数组应用在了变长结构体中,如: StructPacket { Int state; Int len; Char cData[0]; //这里的0长结构体就为变长结构体提供了非常好的支持 }; 首先对0长数组做一个解释: 用途 :长度为0的数组的主要用途是为了满足需要变长度的结构体。 用 阅读全文
posted @ 2023-03-05 18:24 我不是萧海哇~~~ 阅读(31) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-03-05 10:24 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-02-25 11:10 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要: list_1=[1,2,3,4] list_1.pop(0) print(list_1) 阅读全文
posted @ 2023-02-25 10:36 我不是萧海哇~~~ 阅读(87) 评论(0) 推荐(0)
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 308 下一页