2009-11-01から1ヶ月間の記事一覧

Today's C

c

I forgot anything about c, because I do not write recently. Today's program is almost copy answer, that problems for c beginner. c is difficult for me. #include <stdio.h> #define NINZU 5 #define KAMOKU 4 int main(void){ int no[NINZU] = {1001,1002,1</stdio.h>…

One of how to write closure

js

JavaScript is very flexible language. It is possible to write in this manner. this code is function make_counter receives one argument, and return function which has no name receives one argument. At the end, it is return total of two argu…

How to connect sqlite3 from python

I could not use sqlite3 module by python. After later I had found how to do it. I gave it up use sqlite3 module. Looking for another modules, pysqlite module it is. I referred to following URL.

Sort and reserve algorithm

I thought some algorithm what it dose not use built in function. It is sort and reserve algorithm. These are very easy algorithm, Nobody thinks purposely. Moreover, I can not program well and all program language is self learning what I wr…