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 }
資源簡(jiǎn)介: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 }
上傳時(shí)間: 2017-06-12
上傳用戶:3到15
資源簡(jiǎn)介:編程題(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)建一個(gè)按學(xué)號(hào)升序排列的新鏈表,每個(gè)鏈表中的結(jié)點(diǎn)中 的學(xué)號(hào)、成績(jī)...
上傳時(shí)間: 2016-04-13
上傳用戶:zxc23456789
資源簡(jiǎn)介: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) 以上兩個(gè)函數(shù)內(nèi)聯(lián)定義在base64.h中,使用時(shí)include "base64...
上傳時(shí)間: 2015-05-14
上傳用戶:yan2267246
資源簡(jiǎn)介:塊郎ぇ郎char *DestFile塊郎ぇ郎(絪絏茂) */ /* int SlidingWinSize菲笆跌怠ぇ */ /* int PreviewWinSize箇絯僥跋ぇ
上傳時(shí)間: 2013-12-08
上傳用戶:13160677563
資源簡(jiǎn)介:本題的算法中涉及的三個(gè)函數(shù): double bbp(int n,int k,int l) 其中n為十六進(jìn)制位第n位,k取值范圍為0到n+7,用來(lái)計(jì)算16nS1,16nS2,16nS3,16nS4小數(shù)部分的每一項(xiàng)。返回每一項(xiàng)的小數(shù)部分。 void pi(int m,int n,int p[]) 計(jì)算從n位開始的連續(xù)m位的十六進(jìn)制...
上傳時(shí)間: 2014-01-05
上傳用戶:xcy122677
資源簡(jiǎn)介:單純形法算法,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]
上傳時(shí)間: 2013-12-22
上傳用戶:頂?shù)弥?/p>
資源簡(jiǎn)介: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 }
上傳時(shí)間: 2014-01-22
上傳用戶:banyou
資源簡(jiǎn)介:本文關(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個(gè)字符復(fù)制到字符串?dāng)?shù)組s1中,返回s1的值
上傳時(shí)間: 2016-07-09
上傳用戶:lz4v4
資源簡(jiǎn)介:MATLAB source code: This function implements the *(int*)(&float_var).
上傳時(shí)間: 2014-01-09
上傳用戶:tb_6877751
資源簡(jiǎn)介:孫鑫老師VC視頻第十二課代碼:const char *與char * const的區(qū)別。C語(yǔ)言對(duì)文件讀寫的支持,F(xiàn)ILE指針;文本文件和二進(jìn)制文件的區(qū)別。用文本方式讀寫文件和以二進(jìn)制方式讀寫文件的注意事項(xiàng)。C++對(duì)文件讀寫的支持,ofstream和ifstream的用法。Win32 SDK對(duì)文件讀...
上傳時(shí)間: 2016-06-15
上傳用戶:dapangxie
資源簡(jiǎn)介: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)
上傳時(shí)間: 2014-12-04
上傳用戶:hn891122
資源簡(jiǎn)介: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)
上傳時(shí)間: 2014-01-20
上傳用戶:894898248
資源簡(jiǎn)介:const char *與char * const的區(qū)別
上傳時(shí)間: 2017-09-16
上傳用戶:shus521
資源簡(jiǎn)介:tcl程序demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上傳時(shí)間: 2013-12-15
上傳用戶:fhzm5658
資源簡(jiǎn)介:TCL demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上傳時(shí)間: 2013-12-28
上傳用戶:hongmo
資源簡(jiǎn)介:TCL demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上傳時(shí)間: 2014-01-15
上傳用戶:thinode
資源簡(jiǎn)介:demo by N. Sidiropoulos and R. Bro clear all F=5 % users I=4 % antennas
上傳時(shí)間: 2013-12-31
上傳用戶:thuyenvinh
資源簡(jiǎn)介:N的階乘計(jì)算-高精度乘法,每個(gè)數(shù)據(jù)單元存4位,每次計(jì)算4位而非一位,比一般一位為單元的高精度算法約快4倍
上傳時(shí)間: 2014-01-07
上傳用戶:mhp0114
資源簡(jiǎn)介: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.
上傳時(shí)間: 2013-12-27
上傳用戶:wangdean1101
資源簡(jiǎn)介:dsp hư ớ ng dẫ n giao tiế p LCD code viế t bằ ng C
上傳時(shí)間: 2017-06-17
上傳用戶:xuanjie
資源簡(jiǎn)介:時(shí)間片輪轉(zhuǎn)算法struct { int name //進(jìn)程標(biāo)識(shí)符 int status //進(jìn)程狀態(tài) int ax,bx,cx,dx //進(jìn)程現(xiàn)場(chǎng)信息,通用寄存器內(nèi)容 int pc //進(jìn)程現(xiàn)場(chǎng)信息,程序計(jì)數(shù)器內(nèi)容 int psw //進(jìn)程現(xiàn)場(chǎng)信息,程序狀態(tài)字內(nèi)容 int next //下一個(gè)進(jìn)程控制塊的位置 }...
上傳時(shí)間: 2014-01-10
上傳用戶:saharawalker
資源簡(jiǎn)介:學(xué)生成績(jī)管理 假設(shè)有一個(gè)班級(jí)的學(xué)生n人,期末考試?yán)蠋熞獙?duì)成績(jī)從高到低列出,并對(duì)各科的考試成績(jī)求出其最高分、最低分和平均成績(jī)。現(xiàn)在設(shè)計(jì)一個(gè)成績(jī)管理程序,能夠?qū)崿F(xiàn)以下的功能: (1)對(duì)某門科目的成績(jī)進(jìn)行排序并顯示輸出; (2)求出每門科目的最高...
上傳時(shí)間: 2015-10-24
上傳用戶:Thuan
資源簡(jiǎn)介:#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 = = ...
上傳時(shí)間: 2015-12-07
上傳用戶:古谷仁美
資源簡(jiǎn)介: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....
上傳時(shí)間: 2013-12-14
上傳用戶:leehom61
資源簡(jiǎn)介:河內(nèi)塔問(wèn)題 #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)塔問(wèn)題\n") printf("請(qǐng)輸入要搬移的圓盤數(shù)目\n") scanf("%d",&n) printf("...
上傳時(shí)間: 2016-12-08
上傳用戶:努力努力再努力
資源簡(jiǎn)介:/* ?* _168ZHONGDUAN2.c ?* ?* Created: 2014/11/2 15:12:45 ?* ?Author: lenovo ?*/? #include <avr/io.h> #include <avr/iom168pa.h> #include <avr/interrupt.h> #include <util/delay.h> #include <avr/eeprom.h> //#include <util/delay_basic....
上傳時(shí)間: 2016-03-03
上傳用戶:彥 yan
資源簡(jiǎn)介:#include?<malloc.h>??? ?? #include?<stdio.h>??? ?? #include?<stdlib.h>??? ?? #include?<string.h>??? ?? #define?NULL?0?? ?? #define?MaxSize?30?? ?? ??? typedef...
上傳時(shí)間: 2016-12-28
上傳用戶:150501
資源簡(jiǎn)介:#include <iostream.h> #include <string.h> #include <iomanip.h> #include "Stud.h" Stud::Stud(){} char *Stud::getno() ? ? ? ? ? ? ?//獲取學(xué)號(hào) { return no; } char *Stud::getname() ? ? ? ? ? ?//獲取姓名 { return name; } char *...
上傳時(shí)間: 2016-12-29
上傳用戶:767483511
資源簡(jiǎn)介:#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...
上傳時(shí)間: 2019-06-08
上傳用戶:啊的撒旦
資源簡(jiǎn)介:#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...
上傳時(shí)間: 2019-06-09
上傳用戶:啊的撒旦