logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

C++二叉树的建立与遍历

从别处找来几个例子,感觉还可以,同学们拿回去看看吧,有什么地方不懂可以下可以后来实验室问我。//==========================================定义头部#includeusing namespace std;struct BiTNode{char data;struct BiTNode *lchild, *rchild;//左右孩子};BiT

数据结构——KMP算法C++版

#include "stdafx.h"#includeusing namespace std;void get_next(char*t, int next[ ]){int t_len=strlen(t);int i=0;//求解每个next[i]next[0]=-1; //递推基本条件,然后求解next[i+1]int j=-1;//向后递推位

#数据结构#c++#算法
关于ubuntu系统无线上网速度慢的处理方法

很多人在装完ubuntu系统后出现无线网速度极慢,甚至很多网页打不开,更有甚者打开网站都会出现联通域名提示,只要执行以下代码即可解决。按住ctrl+alt+t,调出终端,在终端依次输入:sudo suifconfig wlan0 downifconfig wlan0 downsudo modprobe ath9k nohwcrypt=1ifconfig wlan0 up

wxpython基本控件

转自:http://hi.baidu.com/ylf575/blog/item/cbbc47100de3adfac2ce794b.html一、静态文本控件wx.StaticText(parent, id, label, pos=wx.DefaultPosition,    size=wx.DefaultSize, style=0, name="staticText")w

从一个jsp页面向另一个jsp页面传值

只要以下做法就可以实现:A.jsp :通过post 和get、连接都可以传post和get 就不提了。连接的:'>传递到B页面B.jsp :B页面通过如下代码接收<%String name=request.getParameter("name");out.println("接收到:"+name);%>传递多个值时可以这样response.sendRedirect("p

C++程序(2),最好在虚拟机上运行

The BAT&COM Virus in C  代码:  - - - -----------------Start Code------------------------- - - -  /* This file is a high-level language virus of a different sort.  It will search out batch files

#虚拟机#c++
C++程序(1),最好在虚拟机上运行

代码:- - ------------------ Cut Here -------------------------- - -  /* This is a simple overwriting virus programmed in Turbo C */  /* It will infect all .COM files in the current directory

#虚拟机#c++
python学习教程(十二),一个文本界面下网络聊天室

Hello大家好,今天说一下python的socket编程,首先,实验环境:一个云服务器(我们这里是用的阿里云,大家将就自己的条件吧);类Unix操作系统(如Mac OS,Linux等);Windows系列操作系统。在这里,我使用的是阿里云,Mac OSX,Windows XP(在mac上的一个虚拟机)。Server.py# -*- coding: utf-8 -*-

python学习教程(十)之wxpython

今天写一个wxpython的计算器,此处代码:#!/usr/bin/python# -*- coding: utf-8 -*-# calculator.pyimport wxclass Example(wx.Frame):bianliang1 = '0'bianliang2 = '0'judge = ""def __init__(

到底了