Time of Update: 2018-12-03
/*_############################################################################ _## _## 二叉搜尋樹模組的介面 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003 Server+VC6.0
Time of Update: 2018-12-03
/*_############################################################################ _## _## 靜態數組實現的二叉搜尋樹 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003 Server+VC6.0
Time of Update: 2018-12-03
/*_############################################################################ _## _## 測試二叉搜尋樹的執行個體 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003 Server+VC6.0
Time of Update: 2018-12-03
/*_############################################################################ _## _## 二叉搜尋樹模組的介面 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003 Server+VC6.0
Time of Update: 2018-12-03
/*_############################################################################ _## _## 一個隊列模組的介面 用鏈表 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003 Server+VC6
Time of Update: 2018-12-03
/*弦截法求解方程 Micro_lee*/#include <stdio.h>#include <string.h>#include <math.h>void asterisk_triangle(int n);float f(float x){ return x*( x*(x-5)+16 )-80;}float xpoint(float x1, float x2){ return (x1*f(x2) - x2*f(x1))/( f(x2)-f(x1) );}
Time of Update: 2018-12-03
/*_############################################################################ _## _## 鏈表實現的隊列 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003 Server+VC6.0 _##
Time of Update: 2018-12-03
/*_############################################################################ _## _## 一個使用泛型堆棧模組建立的兩個容納不同類型資料的執行個體 _## Author: xwlee _## Time: 2007.01.02 _## Chang'an University _## Development condition: win2
Time of Update: 2018-12-03
//--《物件導向程式設計與VC++實現》//--Liwei_6_1//--Win32程式//--12/3/2005 Sat. morning 8:00--12:00//--Computer Lab#include LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);//-----------int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst, LPSTR
Time of Update: 2018-12-03
//--《物件導向程式設計與VC++實現》//--Liwei_1_1//--求一階乘數//--10/29/2005 Sat. morning 8:00--12:00//--Computer Lab#include "iostream.h"int factorial(int x);double factorial(double x);void main(){ int i; cout<<"Please enter a number for
Time of Update: 2018-12-03
/*_############################################################################ _## _## 用靜態數組實現一個泛型的堆棧,數組的長度當堆棧執行個體化時作為參數給出 _## Author: xwlee _## Time: 2007.01.02 _## Chang'an University _## Development
Time of Update: 2018-12-03
老實人在華為 1 思想學習在華為3COM呆了一年,有付出,有收穫,有很多辛酸,也有些許歡樂。一個老實人終究無法融入其中,但離開後回首,卻發現不乏苦中作樂的點滴,摘錄一二。1. 思想學習辦事處無論多忙,辦事處每月總是要組織周六日時間學習公司文化的。這天學習內容是任總正非的文章《英雄好漢站起來》。我看了兩分鐘就放下了,我始終對此類文字提不起興緻。但立即被主任盯上了。眾人都讀完了,二十多人裡主任第一個拎出我來:“**,
Time of Update: 2018-12-03
/*_############################################################################ _## _## 使用動態分配的鏈式結構實現的二叉搜尋樹 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003
Time of Update: 2018-12-03
/*_############################################################################ _## _## 測試二叉搜尋樹的執行個體 _## Author: xwlee _## Time: 2007.01.01 _## Chang'an University _## Development condition: win2003 Server+VC6.0
Time of Update: 2018-12-03
//--《物件導向程式設計與VC++實現》//--Liwei_2_1//--字串基本操作(長度、複製、串連)//--11/5/2005 Sat. morning 8:00--12:00//--Computer Lab#include <iostream>using namespace std;int StrLength(char *str);char *StrCopy(char *str1,char *str2);char *StrLink(char *str1,char
Time of Update: 2018-12-03
//--《物件導向程式設計與VC++實現》//--Liwei_2_2//--以遞增順序對數組排序//--11/5/2005 Sat. morning 20:00//--Computer Lab#include <iostream>using namespace std;const int size=5;void SeqArray1(int *seq);void SeqArray2(int *seq);void SeqArray3(int *seq);int main(){
Time of Update: 2018-12-03
//《物件導向程式設計與VC++實現》--liwei_2_3(求矩陣的行元素及對角線之和) //--《物件導向程式設計與VC++實現》//--Liwei_2_3//--求矩陣的行元素及對角線之和//--11/5/2005 Sat. morning 22:00//--Computer Lab#include <iostream>using namespace std;const int size=2;void matrix1(int *seq,int *result_p,int
Time of Update: 2018-12-03
1、逸出字元 ‘/v’豎向跳格 有問題。2、引用在聲明時必須初始化,引用不是值,不佔儲存空間。3、邏輯運算要求是BOOL型,(非0轉化為TRUE,0轉化為FALSE)。4、位元運算只對整數操作。5、強制轉換 <>() 或 ()() 。6、傳回型別是VOID 的函數,在其函數體內,最好無return; 語句,當然 也可以只有 return;7、預設形參必須按從右向左的順序定義。8、內嵌函式的使用:switch和 goto以及迴圈的
Time of Update: 2018-12-03
/***********************************************//* *//* 編寫可變參數的函數 *//* xwlee 2006/12/4 *//***********************************************/#include
Time of Update: 2018-12-03
《物件導向程式設計與VC++實現》--第一章:例題代碼//--《物件導向程式設計與VC++實現》//--11/6/2005 Sun.//--Computer Lab//--Liwei//--例1-1 如何建立和使用引用例題#include <iostream>using namespace std;int main(){ int someint; int &rint=someint; someint=6;