- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 C++整蛊小程序(生成.txt文件)需要fstream头文件 字符串拼接
#include<iostream> #include<fstream> #include<string> #include<windows.h> using namespace std; ofstream shuchu; int n1 = 123456; char st1[16] = {0}; char* str1 = "warning"; char in2[] = ".txt"; char out[20]; int size=100; void .
2021-07-30 23:09:22
506
1
原创 使用C/C++实现的贪吃蛇小游戏
#include <stdio.h> #include <conio.h> #include <windows.h> #include <stdlib.h> #include <iostream> #include <time.h> using namespace std; COORD zuobiao; //实例化 void position(int xx,int yy); //所有函数先行声名,以保证它们之间能互相调用; voi.
2021-07-30 22:12:32
207
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人