![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.NET
文章平均质量分 74
宫野新一
android ? web ?
展开
-
C#绘制折线图
书上讲了折线图的画法,可惜没把坐标画好,整个图成了个表格图,只好自己到网上查资料来试验。 介绍之前,先要说明一下:C#的绘图坐标是以左上角为(0,0)开始的。 private static Bitmap DrawCoordinate(Bitmap image, string原创 2011-09-26 22:40:35 · 847 阅读 · 0 评论 -
C++容器初步——学习笔记0
一些平时没认真想下的问题: C++里list用链表实现的,list容器的存储是不连续的,但是迭代器的++却能访问到下个list节点, http://topic.csdn.net/u/20090805/22/6ad1ed4e-9d28-4b82-83e2-fe4e18731be3.html给出答案:List迭代器重构了++和--等操作符。 代码如下: 1 2 3原创 2011-12-10 10:47:31 · 77 阅读 · 0 评论 -
C#版ELFhash
// //Java版 // public static String getHash(String input_str){ int hash = 0; int x = 0; int i=0; while(i { hash=(hash if((x=hash&0xF0000000)!=0){ hash^=(x>>24); hash&=~x; } i++; } ha原创 2013-03-17 10:41:19 · 453 阅读 · 0 评论