上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 2013-01-31 Javascript Char Codes (Key Codes) - Accipiter Research with my learn of the art and science of JavaScript , i find the keyboard is useful for our web application too , so i make a simply search of the keycode of the javascript ,it's very useful , it may help you too.Press a key in t.. 阅读全文
posted @ 2013-01-31 21:59 alexander.bruce.lee 阅读(1422) 评论(14) 推荐(1)
摘要: 2013-01-29 The Art & Science of JavaScript http://www.sitepoint.com/books/jsdesign1/With the introduction of the simply css and html of the section I(http://www.cnblogs.com/accipiter/archive/2013/01/25/2877238.html).now we can should make a table first.and in the t... 阅读全文
posted @ 2013-01-29 21:20 alexander.bruce.lee 阅读(280) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2013-01-26 12:17 alexander.bruce.lee 阅读(1453) 评论(20) 推荐(8)
摘要: 19:47:31 The Art & Science of JavaScript http://www.sitepoint.com/books/jsdesign1/ Chapter 1: Fun with Tables first. we should known what is table,and tables should have which features? tables : the basic feature of tables is that its have rows and columns , and its can... 阅读全文
posted @ 2013-01-25 20:09 alexander.bruce.lee 阅读(462) 评论(0) 推荐(0)
摘要: 2013-01-24工欲善其事,必先利其器。 小工具,大智慧(一) ——notepad++ 说说初衷,有些时候总需要一些小工具,可是就是不知道什么样的是最适合、漂亮的。有时候能够看到一个小巧、高效、实用的软件的确让人心旷神怡。而那些使用起来方便、简洁,能大大提高工作效率的小巧软件,的确是我们装机的必备神器。本系列旨在寻求哪些神器。其实主要还是面向使用,有时候可能相同功能的软件(API)很多,为方便得心应手的使用,而着重去寻找开源软件。(还望大家多多支持,帮助!)<一>编辑软件 notepad++:(10M左右大小,windows... 阅读全文
posted @ 2013-01-24 00:14 alexander.bruce.lee 阅读(2258) 评论(12) 推荐(1)
摘要: 两天没传东西了,有点罪恶感。今天看了些密码学的东西,发现那东西,说复杂也确实是,说简单好像也挺简单,主要也就是与、或、非、异或等各种变换。等有时间了自己好好写写。 先说说,今天写的最短路径,也就是搜索,先小区域找,滚雪球,再找,确定最小的。OK!理解思想了,程序也就好说了。上代码: 1 /*dijkstra算法*/ 2 #include <stdio.h> 3 4 #define MAXNODE 30 5 #define MAXCOST 1000 6 int dist[MAXNODE]; 7 int cost[MAXNODE][MAXNODE]; 8 int n=5; 9 void 阅读全文
posted @ 2013-01-21 23:56 alexander.bruce.lee 阅读(1879) 评论(2) 推荐(2)
摘要: 今天主要写了点C的排序,现在想来,语言啥的都如浮云,当然能够做到最简单是最好的,比如用C++可以搞成模板,就省得写一大堆相似的东西,就是一个比较爽的事情,不过有些时候“高级”语言都让我们懒得去思考了,实在是没劲,还是思想重要,最近又对数学和算法充满了兴趣!越发觉得计算机或者带有“智能”系列的东西的神奇了,爽啊。不吐槽了,上今天的代码吧。 1 /*rand()*/ 2 #include <stdlib.h> 3 /******************** 4 int rand(void) 5 void srand(unsigned int); 6 ****************** 阅读全文
posted @ 2013-01-19 01:15 alexander.bruce.lee 阅读(1158) 评论(6) 推荐(0)
摘要: 今天写了点双向链表的各种操作,写插入的时候费了点时间,不过,现在看来还是值得耗费那点时间去写的,这种小东西应该能信手拈来才行啊。 1 /*双向链表*/ 2 #include <stdio.h> 3 #include <string.h> /*strcmp(const char *,const char *) return 0 is equal*/ 4 5 typedef struct dulnode 6 { 7 char name[20]; 8 struct dulnode *prior,*next; 9 }stud; 10 /*创建,返... 阅读全文
posted @ 2013-01-17 23:46 alexander.bruce.lee 阅读(1463) 评论(0) 推荐(1)
摘要: 今天主要介绍C语言关于数学函数几个的相关操作。我用的编译器是tcc。实在没必要用一些大型的编译器,tcc小巧实用,实为居家旅行必备之神器!1.求任意两个数之间的素数,我加了一个素数判断的函数,很实用。code: 1 /*求任意两数之间的素数*/ 2 /*long 为 2^31-1=2,147,483,647*/ 3 #include <stdio.h> 4 #include <math.h> /*double sqrt(double)*/ 5 int isPrime(long num); 6 void AtoBPrime(long n1,long n2); 7 int 阅读全文
posted @ 2013-01-16 23:11 alexander.bruce.lee 阅读(575) 评论(0) 推荐(1)
摘要: 1.对已知文件进行分割。 1 #include <stdio.h> 2 #include <string.h> 3 #include <stdlib.h> 4 FILE *in,*out; 5 char filename[256],ch,cfilename[256]; 6 void depart() 7 { 8 char ext[6][6]={ 9 "a.txt",10 "b.txt",11 "c.txt",12 "d.txt",13 "e.txt",14 & 阅读全文
posted @ 2013-01-15 20:52 alexander.bruce.lee 阅读(220) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页