int show_char(int n, const char *name, chtype code) { const int height = 16 int row = 4 + (n height) int col = (n / height) * COLS / 2 mvprintw(row, col, " *s : ", COLS/4, name) addch(code) return n + 1 }
资源简介:int show_char(int n, const char *name, chtype code) { const int height = 16 int row = 4 + (n height) int col = (n / height) * COLS / 2 mvprintw(row, col, " *s : ", COLS/4, name) addch(code) return n + 1 }
上传时间: 2017-06-12
上传用户:3到15
资源简介:编程题(15_01.c) 结构 struct student { long num char name[20] int score struct student *next } 链表练习: (1).编写函数struct student * creat(int n),创建一个按学号升序排列的新链表,每个链表中的结点中 的学号、成绩...
上传时间: 2016-04-13
上传用户:zxc23456789
资源简介:C++ Base64编码/解码源代码 inline int Base64Encode(char * base64code, const char * src, int src_len = 0) inline int Base64Decode(char * buf, const char * base64code, int src_len = 0) 以上两个函数内联定义在base64.h中,使用时include "base64...
上传时间: 2015-05-14
上传用户:yan2267246
资源简介:块郎ぇ郎char *DestFile块郎ぇ郎(絪絏茂) */ /* int SlidingWinSize菲笆跌怠ぇ */ /* int PreviewWinSize箇絯侥跋ぇ
上传时间: 2013-12-08
上传用户:13160677563
资源简介:本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS1,16nS2,16nS3,16nS4小数部分的每一项。返回每一项的小数部分。 void pi(int m,int n,int p[]) 计算从n位开始的连续m位的十六进制...
上传时间: 2014-01-05
上传用户:xcy122677
资源简介:单纯形法算法,int K,M,N,Q=100,Type,Get,Let,Et,Code[50],XB[50],IA,IAA[50],Indexg,Indexl,Indexe float Sum,A[50][50],B[50],C[50]
上传时间: 2013-12-22
上传用户:顶得柱
资源简介:void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(int i=n-2 i>=0 i--) { if(temp<a[i]) a[i+1]=a[i] else break } a[i+1]=temp }
上传时间: 2014-01-22
上传用户:banyou
资源简介:本文关键词: c++ 字符串 函数 char *strcpy(char *s1, const char *s2) 将字符串s2复制到字符串数组s1中,返回s1的值 char *strncpy(char *s1, const char *s2, size_t n) 将字符串s2中最多n个字符复制到字符串数组s1中,返回s1的值
上传时间: 2016-07-09
上传用户:lz4v4
资源简介:MATLAB source code: This function implements the *(int*)(&float_var).
上传时间: 2014-01-09
上传用户:tb_6877751
资源简介:孙鑫老师VC视频第十二课代码:const char *与char * const的区别。C语言对文件读写的支持,FILE指针;文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。C++对文件读写的支持,ofstream和ifstream的用法。Win32 SDK对文件读...
上传时间: 2016-06-15
上传用户:dapangxie
资源简介:File: dir.h ScanOneDirectorySector(unsigned long sector, char *name) extern void MakeFileName(char *inname, char *outname) ScanOneDirectorySector(unsigned long sector, char *name) extern void MakeFileName(char *inname, char *outname)
上传时间: 2014-12-04
上传用户:hn891122
资源简介:File: dir_39 canOneDirectorySector(unsigned long sector, char *name) extern void MakeFileName(char *inname, char *outname) ScanOneDirectorySector(unsigned long sector, char *name) extern void MakeFileName(char *inname, char *outname)
上传时间: 2014-01-20
上传用户:894898248
资源简介:const char *与char * const的区别
上传时间: 2017-09-16
上传用户:shus521
资源简介:对应程序: #include<reg52.h> #define uint unsigned int #define uchar unsigned char uchar code tab[]={ 0x81, 0x42, 0x24, 0x18, }; void delay(uint z) { uint i,j; for(i=z;i>0;i--) for(j=120;j>0;j--); } void init() { P0=0x00; ...
上传时间: 2014-01-17
上传用户:ruan2570406
资源简介:tcl程序demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上传时间: 2013-12-15
上传用户:fhzm5658
资源简介:TCL demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上传时间: 2013-12-28
上传用户:hongmo
资源简介:TCL demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上传时间: 2014-01-15
上传用户:thinode
资源简介:demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上传时间: 2013-12-31
上传用户:thuyenvinh
资源简介:N的阶乘计算-高精度乘法,每个数据单元存4位,每次计算4位而非一位,比一般一位为单元的高精度算法约快4倍
上传时间: 2014-01-07
上传用户:mhp0114
资源简介:As the source code name, this code is writing in Verilog and also inside the folder there is a c code to see the simulation results from verilog.
上传时间: 2013-12-27
上传用户:wangdean1101
资源简介:时间片轮转算法struct { int name //进程标识符 int status //进程状态 int ax,bx,cx,dx //进程现场信息,通用寄存器内容 int pc //进程现场信息,程序计数器内容 int psw //进程现场信息,程序状态字内容 int next //下一个进程控制块的位置 }...
上传时间: 2014-01-10
上传用户:saharawalker
资源简介:学生成绩管理 假设有一个班级的学生n人,期末考试老师要对成绩从高到低列出,并对各科的考试成绩求出其最高分、最低分和平均成绩。现在设计一个成绩管理程序,能够实现以下的功能: (1)对某门科目的成绩进行排序并显示输出; (2)求出每门科目的最高...
上传时间: 2015-10-24
上传用户:Thuan
资源简介:#include "pch.h" #include "base64.h" NAMESPACE_BEGIN(CryptoPP) static const int MAX_LINE_LENGTH = 72 static const byte vec[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" static const byte padding = = ...
上传时间: 2015-12-07
上传用户:古谷仁美
资源简介:UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard....
上传时间: 2013-12-14
上传用户:leehom61
资源简介:河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,int) int main(void) { int n int option printf("題目二:河內塔問題\n") printf("請輸入要搬移的圓盤數目\n") scanf("%d",&n) printf("...
上传时间: 2016-12-08
上传用户:努力努力再努力
资源简介:/*================================================================= 4扫16*16下入上出C语言程序, 低位起笔,数据反相。 预定义 **************************************************************/ #include #include //可使用其中定义的宏来访问绝对...
上传时间: 2017-05-04
上传用户:sbfd010
资源简介:#include<stdio.h> #include<string.h> #include<stdlib.h> #define N 100 int iNumOfStu=0; struct score { float math; float english; float computer; }; struct student { int numb...
上传时间: 2019-06-08
上传用户:啊的撒旦
资源简介:#include<stdio.h> #include<string.h> #include<stdlib.h> #define N 100 int iNumOfStu=0; struct score { float math; float english; float computer; }; struct student { int numb...
上传时间: 2019-06-09
上传用户:啊的撒旦
资源简介:AT89C2051驱动步进电机的电路和源码:AT89C2051驱动步进电机的电路和源码 程序:stepper.c stepper.hex/* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */#i nclude c:\mc5151io.h /* include i/o heade...
上传时间: 2013-11-21
上传用户:boyaboy
资源简介:51单片机驱动步进电机(含电路图和源程序代码) 源程序:stepper.c stepper.hex /* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */ #i nclude c:\mc5151io.h /* include i/o header file */ #i nclude...
上传时间: 2013-11-09
上传用户:钓鳌牧马