My Java Work(java application)

Here you can find my some java works, in which some are the project of the praxis and some are the projects for psychology-institute. Because the programme are developt for german user, so the User interface and the comment in code are almost in german, of course the code was writen in english. ...
2007-01-12 03:27 | 阅读 4000 次 | 评论 1 条

一个彩票程序(编程语言为java)

彩票一直是一个很有说头的话题,我对国内的彩票规则不是很清楚,所以没有结合中国的情况,这个程序只是针对德国的情况,在德国彩票一周开两次,星期三和星期天。我偶尔也会买几次,最多的也就是3个数字对。 我是充满了乐趣来写这个程序的,希望你能和我一样在使用这个软件时充满乐趣, 我也在这里预祝你彩票事业成功,中了奖要分我一点奖金的,知不知道? 如果大家有什么建议,欢迎提出,以便我能够开发针对中国彩票规则的软件。 点击下载: UploadFiles/2007-1/12432374.rar
2007-01-02 20:34 | 阅读 6020 次 | 评论 1 条

all about C++

我试图更新上传此文,但是总是上传失败,无奈只得放弃上传。你可以直接去我的个人网站 www.kaisoftworld.de 在C++ 板块可以找到此文,下面是此文的url :http://www.kaisoftworld.de/CPlusPlus/all%20about%20c++%20programming.pdf此文的最新更新为02.07.2007下面是此文的一些开始部分的摘结: 从今天开始, 开始这篇文章, 文章的格式将为PDF, 以下为文章的开始部分的摘录。 文章在继续书写中, 阅读全文请点击上面的文章下载, 文章最迟将会每周更新一次。 All About C++kai ...
2006-11-12 16:32 | 阅读 2172 次 | 评论 3 条

如何动态开辟2d array 以及如何删除所开辟的空间。

今天看到了一位网友提的问题中涉及了动态开辟的空间的问题, 这个问题是一再有人提的,而往往很多C++ 书籍没有给出这个问题的解答, 有些书籍给出了动态开辟的代码却忘记了删除所开辟的空间。 就这个问题的解答特写了下面的这个演示代码。 #include <iostream>#include <cstdlib>using namespace std;int main(){ int rows = 2; int cols = 3; // create a dynamic array int ** array = NULL; array = new int * ...
2006-10-27 12:59 | 阅读 2393 次 | 评论 0 条

一个Java Project (为心理学院写的一个心理测试程序)

从今天起要写一个心理测试程序, 你可以通过这里跟踪该软件的开发全过程, 也欢迎你参加讨论。
2006-09-11 06:50 | 阅读 3376 次 | 评论 2 条

一起来写一个24点的游戏程序

如果你有兴趣, 可以与我一起来写这个程序。这个帖子发了很长时间了,一直没有给大家完整有效的代码。前天打工回来,觉得有些无聊,想起这个程序,上手写,用的是穷举的方法,写了两个小时,一气呵成。这个程序也用到以前写的那个计算器的程序。源代码以及可执行程序请点击:UploadFiles/2007-4/46108099.rar
2006-08-08 17:56 | 阅读 2663 次 | 评论 5 条

最大公约数和最小公倍数的C/C++实现

#include <iostream>#include <cstdlib>using namespace std; int gcd (int a, int b){ if (a < 0 || b < 0) return 0; else if(a == b) return a; else { for( ; a!=0 &amp;&amp; b!=0; (a=a%b) &amp;&amp; (b=b%a)) ; return a | b; }} int lcm(int a, int b){ return a*b/gcd(a, b);} in...
2006-08-02 08:42 | 阅读 5123 次 | 评论 5 条

把一串字符串转换为整型

// first method sscanf ANSI C #include <iostream> #include <cstdlib> using namespace std;int main() { char * buffer = "4711"; int number; int ret; ret = sscanf(buffer, "%d", &amp;number); if (ret) // success { printf("%d\n", number); } system("pause"); return 0; } #include <iostream> #inc...
2006-07-31 10:47 | 阅读 3516 次 | 评论 1 条

All about windows programming

Hello all, I have written something about windows programming in C/C++ and winapi(No MFC). When you want learn it, take a look here: http://www.bc-cn.net/bbs/dispbbs.asp?boardid=56&amp;replyid=57703&amp;id=4546&amp;page=1&amp;skin=0&amp;Star=1
2006-07-30 09:40 | 阅读 1490 次 | 评论 0 条

How to construct a system

在我看来, 一个系统是一个组建群的组合, 也就是说一个系统包含了一个或多个 Component. 在我的系统中, 各个Component 可以是彼此认识的, 也可以是彼此不认识的, 在这个系统中有一个非常重要的组件, 那就是 SystemController(SC), 这个 SC 认识系统中所有的 Components, 由于 SC 认识系统中所有的 Components, 所以 components 彼此间的联系是通过 SC 的信息交互来实现的。 这样的话, 如果要实现添加一个Component 到一个 System 中去, 或 删除一个 Component, 将会变得非常简单, 对...
2006-07-30 09:35 | 阅读 1245 次 | 评论 0 条

The&nbsp;search&nbsp;technique&nbsp;what&nbsp;I&nbsp;thought

Here I want introduce my search technique, I don't know whether this technique is already used by some search enginee. At all, I have never heard or never seen. Now come to the subject. I think, everyone here has the experience by searching. For example search your shoe, or search your pencil, or...
2006-07-30 09:25 | 阅读 1476 次 | 评论 1 条

Calculator(console&nbsp;application)

UploadFiles/2006-7/731720792.rar #include <iostream>#include <string>#include <sstream>using namespace std; class Expression{private: string exp; string left; string right; char op; string rest;public: Expression(){} Expression(string expStr) { ereaseSpace(expStr); exp = expStr; if(beginW...
2006-07-30 09:16 | 阅读 1733 次 | 评论 1 条

kai
浏览94829次