搜索结果

找到约 613 项符合 main 的查询结果

按分类筛选

显示更多分类

汇编语言 已知数据文件IN.dat中存有200个四位数

已知数据文件IN.dat中存有200个四位数,并已调用读函数rData()把这些数存入数组a中,请编写函数spellNum(),其功能是:把个位数字和千位数字重新组成一个新的二位数(新二位数的十位数字是原四位数的个位数字,新二位数的个位数字是原四位数的千位数字),以及把百位数字和十位数字组成另一个新的二位数(新二位数的十位数 ...
https://www.eeworm.com/dl/644/490132.html
下载: 169
查看: 1112

Delphi控件源码 TdcHintEx Provides your users with a cool transparent hint. It replaces standard Delphi hint wind

TdcHintEx Provides your users with a cool transparent hint. It replaces standard Delphi hint window. Just drop a TdcHintEx in your main form. Set Enabled to True. And run your application. Oh btw, please set ShowHint to True.. :) Drop me a line, and tell me what you think of it. Antony Hoon ant ...
https://www.eeworm.com/dl/666/490274.html
下载: 76
查看: 1114

C/C++语言编程 全景图像和多光谱图像融合

PixelFusion.dsp     This file (the project file) contains information at the project level and     is used to build a single project or subproject. Other users can share the     project (.dsp) file, but they should export the makefiles locally. PixelFusion.h   &nb ...
https://www.eeworm.com/dl/501204.html
下载: 3
查看: 100

C/C++语言编程 toj 4022源代码

#include <iostream> using namespace std; int main(){ int t; cin>>t; while(t--){ long long n; cin>>n; if(n%2==1) cout<<(n*n-1)/4<<endl; else if (n%4==0) cout <<(n*n)/4-1<<endl; else{ if(n==2) cout<<1<<endl; else{ long long k=n/2-1; cout <<k*k+2*k-3<<endl; } ...
https://www.eeworm.com/dl/502385.html
下载: 1
查看: 32

Linux/uClinux/Unix编程 两个链表的交集

两个链表的交集 #include<stdio.h> #include<stdlib.h> typedef struct Node{   int data;   struct  Node *next; }Node; void initpointer(struct Node *p){   p=NULL; } int  printlist(struct Node* head){   int flag=1;   head=head->next;   /*   因为标记1的地 ...
https://www.eeworm.com/dl/502540.html
下载: 1
查看: 46

单片机编程 stm32小量iap

1.此代码基于红牛开发板,请根据自己的板子进行修改。 2.通过修改网上的代码实现,修改前的功能开了一个很大的缓存接收app数据,然后一次性全部数据写入, 但是这个在实际应用中没多大用,所以修改为一次写入128个字节。 3.程序flash的偏移地址为0x8010000,所以app编译前应该在mdk中设置 Option窗口->Target页->IROM1,st ...
https://www.eeworm.com/dl/506794.html
下载: 4
查看: 84

C/C++语言编程 C语言用户注册及登录

#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> main(void) {   char new_name[4], name[4];     int new_sn ,sn;     printf("        【注册】\n\n");     printf("请输入用户名(四位英文字母):");     scanf("%s", ...
https://www.eeworm.com/dl/509083.html
下载: 1
查看: 168

单片机编程 用定时器以间隔500MS在6位数码管上依次显示0、1、 2、3….C、D、E、F,重复。

#include<reg51.h> #define uchar unsigned char #define uint unsigned int uint i,j; sbit dula=P2^6; sbit wela=P2^7; uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d, 0x7d,0x07,0x7f,0x6f,0x77,0x7c, 0x39,0x5e,0x79,0x71}; void main() {  j=0; i=0;     TMOD=0X01; TH0=(65536-50000)/256; TL ...
https://www.eeworm.com/dl/509595.html
下载: 1
查看: 605

单片机编程 AVR单片机转速表

/****************************************************************                  外部晶振8M                  PA0~3:四位数码管的位选                  PB0~7:数码管 ...
https://www.eeworm.com/dl/509864.html
下载: 1
查看: 97

Linux/uClinux/Unix编程 c语言程序源

#include <iostream> using namespace std; class Student { public: Student(int, int); int num; int grade; }; Student::Student(int n, int g) { num = n; grade = g; } int maxGradeIndex(Student* s) { int maxGrade, index = 0, i = 0; maxGrade = s[0].grade; for (i = 0; i<5; i++) { if (s[i].grade > maxGrade) ...
https://www.eeworm.com/dl/510573.html
下载: 1
查看: 29