上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: #include #include #include using namespace std;int main(){ strings... 阅读全文
posted @ 2022-04-19 18:17 enbug 阅读(80) 评论(0) 推荐(0)
摘要: 问题: Bash Game,有1堆含n个石子,两个人轮流从这堆物品中取物,规定每次至少取1个,最多取m个。取走最后石子的人获胜。 思... 阅读全文
posted @ 2022-04-19 18:17 enbug 阅读(64) 评论(0) 推荐(0)
摘要: c标准头文件math.h中有两个与log有关的函数声明。 double __cdecl log(double _X); dou... 阅读全文
posted @ 2022-04-19 18:17 enbug 阅读(964) 评论(0) 推荐(0)
摘要: telnet 地址 端口 若不通 telnet: connect to address 101.199.97.65: Connect... 阅读全文
posted @ 2022-04-19 18:17 enbug 阅读(289) 评论(0) 推荐(0)
摘要: //文件名 mysort.h#ifndef _MYSORT_H#define _MYSORT_Htemplate inline vo... 阅读全文
posted @ 2022-04-19 18:16 enbug 阅读(24) 评论(0) 推荐(0)
摘要: //文件名 my_stack.h#ifndef _MY_STACK_H#define _MY_STACK_Htemplate str... 阅读全文
posted @ 2022-04-19 18:16 enbug 阅读(52) 评论(0) 推荐(0)
摘要: time.h是c/c++标准头文件 time_t类型其实就是整型,视平台不同,有32位、64位。 struct tm t; ... 阅读全文
posted @ 2022-04-19 18:16 enbug 阅读(373) 评论(0) 推荐(0)
摘要: 方法一:把要读取的文件的编码改为ansi。 方法二:如果方法一不行, 把数据文件编码改为utf-8,再用带w的函数读取。 如 wch... 阅读全文
posted @ 2022-04-19 18:16 enbug 阅读(936) 评论(0) 推荐(0)
摘要: 把文件编码改为 utf-8带签名 即可 vs下 右击文件,另存为,编码选Unicode(UTF-8 带签名)。 clion下 点... 阅读全文
posted @ 2022-04-19 18:16 enbug 阅读(2575) 评论(0) 推荐(0)
摘要: https://en.cppreference.com/w/cpp/filesystem/directory_iterator ... 阅读全文
posted @ 2022-04-19 18:16 enbug 阅读(138) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页