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) 結(jié)構(gòu) struct student { long num char name[20] int score struct student *next } 鏈表練習(xí): (1).編寫函數(shù)struct student * creat(int n),創(chuàng)建一個按學(xué)號升序排列的新鏈表,每個鏈表中的結(jié)點中 的學(xué)號、成績...
上傳時間: 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) 以上兩個函數(shù)內(nèi)聯(lián)定義在base64.h中,使用時include "base64...
上傳時間: 2015-05-14
上傳用戶:yan2267246
資源簡介:塊郎ぇ郎char *DestFile塊郎ぇ郎(絪絏茂) */ /* int SlidingWinSize菲笆跌怠ぇ */ /* int PreviewWinSize箇絯僥跋ぇ
上傳時間: 2013-12-08
上傳用戶:13160677563
資源簡介:本題的算法中涉及的三個函數(shù): double bbp(int n,int k,int l) 其中n為十六進制位第n位,k取值范圍為0到n+7,用來計算16nS1,16nS2,16nS3,16nS4小數(shù)部分的每一項。返回每一項的小數(shù)部分。 void pi(int m,int n,int p[]) 計算從n位開始的連續(xù)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
上傳用戶:頂?shù)弥?/p>
資源簡介: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
資源簡介:本文關(guān)鍵詞: c++ 字符串 函數(shù) char *strcpy(char *s1, const char *s2) 將字符串s2復(fù)制到字符串?dāng)?shù)組s1中,返回s1的值 char *strncpy(char *s1, const char *s2, size_t n) 將字符串s2中最多n個字符復(fù)制到字符串?dāng)?shù)組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的區(qū)別。C語言對文件讀寫的支持,F(xiàn)ILE指針;文本文件和二進制文件的區(qū)別。用文本方式讀寫文件和以二進制方式讀寫文件的注意事項。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的區(qū)別
上傳時間: 2017-09-16
上傳用戶:shus521
資源簡介:對應(yīng)程序: #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的階乘計算-高精度乘法,每個數(shù)據(jù)單元存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
資源簡介:時間片輪轉(zhuǎn)算法struct { int name //進程標識符 int status //進程狀態(tài) int ax,bx,cx,dx //進程現(xiàn)場信息,通用寄存器內(nèi)容 int pc //進程現(xiàn)場信息,程序計數(shù)器內(nèi)容 int psw //進程現(xiàn)場信息,程序狀態(tài)字內(nèi)容 int next //下一個進程控制塊的位置 }...
上傳時間: 2014-01-10
上傳用戶:saharawalker
資源簡介:學(xué)生成績管理 假設(shè)有一個班級的學(xué)生n人,期末考試老師要對成績從高到低列出,并對各科的考試成績求出其最高分、最低分和平均成績。現(xiàn)在設(shè)計一個成績管理程序,能夠?qū)崿F(xià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
資源簡介:河內(nèi)塔問題 #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èi)塔問題\n") printf("請輸入要搬移的圓盤數(shù)目\n") scanf("%d",&n) printf("...
上傳時間: 2016-12-08
上傳用戶:努力努力再努力
資源簡介:/*================================================================= 4掃16*16下入上出C語言程序, 低位起筆,數(shù)據(jù)反相。 預(yù)定義 **************************************************************/ #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驅(qū)動步進電機的電路和源碼:AT89C2051驅(qū)動步進電機的電路和源碼 程序: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單片機驅(qū)動步進電機(含電路圖和源程序代碼) 源程序: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
上傳用戶:釣鰲牧馬