- 博客(5)
- 收藏
- 关注
原创 Win10命令行窗口编译C代码
最近在看《C/C++实践进阶之道》,书中一章介绍自己动手编写小工具,在cmd中用简单的命令运行代码,非常方便,我感觉比 在cmd中用bat文件运行python方便多了。所以花了两天时间终于把环境给配置好了,记录并分享一下其中的一些问题。环境变量:打开我的电脑,空白处点一下,然后菜单栏 ‘计算机’ -> 属性 -> 高级系统设置 -> 环境变量,一会弄的都是系统变量我用的编...
2020-02-01 17:57:42
2745
原创 ACM训练题
题目:We all know that a superhero can transform to certain other superheroes. But not all Superheroes can transform to any other superhero. A superhero with name s can transform to another superhero wi...
2019-02-10 14:52:27
329
原创 ACM训练题
题目:There are n pictures delivered for the new exhibition. The i-th painting has beauty ai. We know that a visitor becomes happy every time he passes from a painting to a more beautiful one.We are al...
2019-02-01 19:06:15
336
原创 C\C++插入图片,音乐,文字
C\C++插入图片,音乐,文字#include<stdio.h>#include<graphics.h> //画布上的一系列操作#include<mmSystem.h> //
2019-02-01 18:20:05
24604
15
原创 C\C++调用另一个源文件中的函数
C\C++调用另一个源文件中的函数回调函数法——利用函数指针源文件 ‘main.c’#include<stdio.h>void run(); //*声明将要用到的函数(最重要的一步)*extern void (*step)(void); //先声明一个全局变量(函数指针)void mystep_cb(void){ printf("我要输出\n
2019-01-19 21:12:33
13896
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人