2013年5月21日

c#(winform)抓取网页源码和链接

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net;using System.IO;namespace pachong{ public partial class Form1 : Form { public Form1() {... 阅读全文

posted @ 2013-05-21 08:46 之足常乐 阅读(459) 评论(0) 推荐(0)

2013年5月8日

c++创建栈及部分函数实现

摘要: 1 // 栈的创建.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include<iostream> 6 using namespace std; 7 const int size=100; //初始空间分配 8 const int increase=10; //增补空间量 9 10 typedef struct stack{ 11 int *elem; //存储数据元素的数组12 int top; //栈顶指针13 }; //建立一个栈的结构体14 15 //构建一个空栈s1... 阅读全文

posted @ 2013-05-08 13:57 之足常乐 阅读(701) 评论(0) 推荐(0)

2013年3月20日

数据结构与算法——线性表的顺序表示

摘要: // 顺序表的创建以及增删改函数的实现.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include<iostream>#include<process.h>using namespace std;void ErrorMessage() //出错信息处理函数{ cout<<"对不起,您输入的值不符,请重新运程序"<<endl; exit(1);}const int LIST_INIT_SIZE=100; //初始分配最大空间const int LISTINCREMANT 阅读全文

posted @ 2013-03-20 15:51 之足常乐 阅读(254) 评论(0) 推荐(0)

导航