会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
闲来敲敲代码......
Click me!
有容乃大:好读书不求甚解
博客园
首页
新随笔
联系
管理
订阅
2016年6月30日
chartControl绑定数据源
摘要: private void BindChartControl(DataTable dataTable,ChartControl chartControl,int[] columnNO,ViewType viewType) { chartControl.Series.Clear(); int num = columnNO...
阅读全文
posted @ 2016-06-30 22:27 森语音
阅读(2541)
评论(0)
推荐(0)
2016年6月24日
c#:如何处理对对象进行深度拷贝
摘要: 1 /// 2 /// 对对象进行深度拷贝 3 /// 4 /// 5 /// 6 private object Clone(object obj) 7 { 8 MemoryStream memory_stream = new MemoryStream...
阅读全文
posted @ 2016-06-24 10:51 森语音
阅读(502)
评论(0)
推荐(0)
2015年11月19日
java版模拟浏览器下载百度动漫图片到本地。
摘要: 1 package javaNet.Instance.ImageDownload; 2 3 import java.io.BufferedReader; 4 import java.io.File; 5 import java.io.FileOutputStream; 6 impor...
阅读全文
posted @ 2015-11-19 10:23 森语音
阅读(1358)
评论(0)
推荐(0)
2015年11月17日
利用Python实现从百度下载图片到本地磁盘
摘要: import urllib.requestimport osimport reurl=r'http://image.baidu.com/search/index?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fm=index&fr=&sf=1&f...
阅读全文
posted @ 2015-11-17 17:16 森语音
阅读(8997)
评论(0)
推荐(2)
2015年10月28日
Pyton 模拟Post登录
摘要: import sysimport urlib.parseimport urllib.requestimport http.cookiejarimport randomimport mathimport os.pathimport hashlibimport jsonimport binascii#c...
阅读全文
posted @ 2015-10-28 16:42 森语音
阅读(383)
评论(0)
推荐(0)
2014年10月22日
将abc的全排列输出
摘要: #include "iostream"using namespace std;void swap(char a[],int i,int j){ char temp; temp=a[i]; a[i]=a[j]; a[j]=temp;}void permutation(char ...
阅读全文
posted @ 2014-10-22 19:17 森语音
阅读(1059)
评论(0)
推荐(0)
顺时针打印矩阵
摘要: 思想:先顺时针打印一圈,再打印剩下的矩阵,直到最后的矩阵的行或列为0为止;#include "iostream"using namespace std;void main(){ int a[3][4]={{1,2,3,4},{8,7,6,5},{1,2,3,4}}; int m=3,n=...
阅读全文
posted @ 2014-10-22 10:52 森语音
阅读(247)
评论(0)
推荐(0)
2014年10月8日
TCL笔试题 将A,B,B,C,D,E,第三个字符不可以是E的所有组合输出;
摘要: 思路:利用排列思想,进行递归;#include "iostream"using namespace std;char b[10];void pick_one(char a[],int num[],int n){ if(n==6){ b[n]='\0'; co...
阅读全文
posted @ 2014-10-08 12:35 森语音
阅读(394)
评论(0)
推荐(0)
2014年10月7日
字符串反转----将this is good 转化为good is this 输出。
摘要: 思路:现将整个字符串反转,再将每个单词反转;#include "iostream"#include "cstring"using namespace std;void reverse_word(char*p,char*q){ char temp; while(q>p){ t...
阅读全文
posted @ 2014-10-07 10:16 森语音
阅读(301)
评论(0)
推荐(0)
2014年9月17日
9月10日,美团网2014校招研发笔试哈尔滨站 1、链表翻转。给出一个链表和一个数k,比如链表1→2→3→4→5→6,k=2,则翻转后2→1→4→3→6→5,若k=3,翻转后3→2→1→6→5→4,若k=4,翻转后4→3→2→1→5→6,用程序实现
摘要: // reverselink.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"struct Node{ int num; struct Node*next;};typedef struct Node Node;Node * createLink(){ ...
阅读全文
posted @ 2014-09-17 11:04 森语音
阅读(1975)
评论(0)
推荐(0)
下一页