语言
爱吃猫咪的鱼
这个作者很懒,什么都没留下…
展开
-
C++ 字符串分割 字符串合并
c++ 字符串的分割 字符串合并原创 2022-06-20 14:06:18 · 1409 阅读 · 1 评论 -
c++链表操作
#include<iostream> #include <stdlib.h> #include <cstdlib> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x):val(x),next(nullptr){} }; //尾插法 ListNode* insert(ListNode* l1, int data) { while原创 2020-10-01 19:26:19 · 90 阅读 · 0 评论