码迷,mamicode.com
首页 >  
搜索关键字:visaul stdio    ( 10042个结果
RGB全彩LED——树莓派基于C语言教程
1 #include <stdio.h> 2 #include <wiringPi.h> 3 #include <softPwm.h> 4 5 const int Red_Pin = 9; 6 const int Green_Pin = 10; 7 const int Blue_Pin = 11; ...
分类:编程语言   时间:2020-11-25 12:45:11    阅读次数:8
利用define对结构体成员赋值
可以使用宏定义方式对结构体成员进行赋值。 #include <stdio.h> #include <string.h> #include <stdlib.h> typedef struct{ struct { int n1; int n2; } data; int n3; }n_t; #define ...
分类:其他好文   时间:2020-11-25 12:35:44    阅读次数:4
lex和yacc学习
main.h文件 #ifndef MAIN_HPP #define MAIN_HPP #include <iostream>//使用C++库 #include <string> #include <stdio.h>//printf和FILE要用的 using namespace std; /* * ...
分类:其他好文   时间:2020-11-24 13:01:44    阅读次数:22
rsa_gmp
#include <string.h> #include <stdlib.h> #include <stdio.h> #include "gmp.h" #define MILLER_RABIN_TEST_NUM 5 #define PRIME_BIT 512 #define CLOCKS_PER_S ...
分类:其他好文   时间:2020-11-24 12:38:56    阅读次数:6
改变图片大小与格式,adb
#include<stdio.h> #include<windows.h> #include<graphics.h> #include<atlimage.h> int main() { //system("adb pull /sdcard/screen.png"); //system("adb sh ...
分类:数据库   时间:2020-11-24 12:38:06    阅读次数:10
memmove库函数模拟实现
//第一次尝试:#include<stdio.h> #include<stdlib.h> void* myMemmove(void* destin, const void* source,size_t num) { if (destin == NULL || source == NULL) { re ...
分类:其他好文   时间:2020-11-24 12:25:30    阅读次数:7
实验三
#include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c:"); while(scanf("%f%f%f",&a,&b,&c)!=EOF){ ...
分类:其他好文   时间:2020-11-24 12:17:23    阅读次数:9
2020计算机C语言
8 1 #include<stdio.h> 2 int num[100]; 3 int main() 4 { 5 int x; 6 int cnt = 0; 7 scanf("%d", &x); 8 while(x) { 9 num[++cnt] = x % 10; 10 x = x / 10; 1 ...
分类:编程语言   时间:2020-11-24 12:15:10    阅读次数:9
一顿操作猛如虎,一看头发。。。
#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a, ...
分类:其他好文   时间:2020-11-24 12:14:01    阅读次数:6
对图片进行Base64转码和解码
Base64代码 base64.c #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> // bindata待编码数据buffer base64 编码后数据 ...
分类:其他好文   时间:2020-11-24 12:13:36    阅读次数:7
10042条   上一页 1 ... 31 32 33 34 35 ... 1005 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!