Easter79 Easter79
2年前
stm32 库函数(按键控制led灯闪烁)最简单易懂的使用方法
STM32使用库函数(按键控制led不同的闪烁效果)下面是main.cinclude"stm32f10x.h"include"led.h"include"key.h"intmain(void){while(1){
菜鸟小欧 菜鸟小欧
3年前
c语言成绩管理系统简
include<stdio.hinclude<stdlib.hdefineN50include<string.hinclude<conio.hintmax,min;floatave;structstudentintsx,yw,total;charname10,xh12;;//定义基本信息structstudentstuN
Stella981 Stella981
2年前
C++ stat判断路径是文件还是目录
Cstat判断路径是文件还是目录1include<iostream2include<sys/stat.h34usingnamespacestd;56voidfoo(constcharpath){7structst
Wesley13 Wesley13
2年前
C++ 窗体
1、引用include<stdlib.h//include<stdio.hinclude<windows.hinclude<stdio.hinclude<shellapi.hpragmacomment(lib,"user32")pragmacomment(lib,"gdi32.lib")
Stella981 Stella981
2年前
Mac11.0.1 phpize失效问题
升级Mac至11.0.1后执行phpize报以下问题grep:/usr/include/php/main/php.h:Nosuchfileordirectorygrep:/usr/include/php/Zend/zend_modules.h:Nosuchfile
Stella981 Stella981
2年前
OpenGL——折线图柱状图饼图绘制
折线图绘制代码:include<iostream//旧版本固定管线include<Windows.hinclude<GL/glut.h//新版本可编程管线/defineGLEW_STATICinclude<GL/glew.hinclud
Wesley13 Wesley13
2年前
C++调用外部文件中的函数
 方法一、 dev\_cpp中建一项目,把下列文件添中到项目中      主函数main001.cpp,其中添加 include"lx.h",方法二: 在主函数main001.cpp中直接中添加 include"add.cpp",                      include" sub.cpp",           
Stella981 Stella981
2年前
C语言的函数声明,定义,调用以及exit退出
1include<stdio.h2include<stdlib.h3voidsinging();4intmain()5{6singing();7system("pause");8}910voi
Stella981 Stella981
2年前
C++语言中反转字符串的函数strrev(), reverse()
1.使用string.h中的strrev函数1include<stdio.h2include<string.h3intmain()4{5chars"hello";6strrev(s);7puts(s);8retu
Wesley13 Wesley13
2年前
C语言计时器代码
1include<stdio.h2include<windows.h3intmain()4{5system("modeconcols30lines10");//显示框大小控制函数6syst