随笔分类 - C#C++
摘要:
找最大值
阅读全文
找最大值
阅读全文
摘要:#include<stdio.h> #define N 15 int Search_array(int array[],int n,int value) { int low=0; int high=n-1; int mid; while(low<=high) { mid=(low+high)/2;
阅读全文
摘要:
创建数组的时候不要对其进行初始化
阅读全文
创建数组的时候不要对其进行初始化
阅读全文
摘要:类模板: 指定多个类型的T(现举两个) template<class typename,class typeage,class...> eg:创建一个Person类 class person { public: person(typename name,typeage age) { this->na
阅读全文
摘要:1 #include<iostream> 2 using namespace std; 3 //创建一个Person类 4 class Person 5 { 6 public: 7 Person(int age1, string name1) 8 { 9 this->age = age1; 10 t
阅读全文

冒泡、选择、快速、折半排序算法
插值
类模板与函数模板
浙公网安备 33010602011771号