Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - main.c
Search - main.c - List
C语言的的windons下大数阶乘实现,运行良好.感觉很不错,相反啊独特.需要的可以打开开看,主要运用乘法思想的原理编写而成-C language of the majority of factorial windons under achieving, well-functioning. The feeling is very good, contrary ah unique. The need to be opened opened, the main use of the principle of multiplication thinking prepared
Date : 2008-10-13 Size : 9.52kb User : 袁红

public class Server extends Thread { Client client int counter public Server(Client _client) { this.client = _client this.counter = 0 } public void run() { while (counter < 10) { this.client.queue.addElement(new Integer(counter)) counter++ } throw new RuntimeException(\"counter >= 10\") } public static void main(String[] args) { Client c = new Client() Server s = new Server(c) c.start() s.start() } } class Client extends Thread { Vector queue public Client() { this.queue = new Vector() } public void run() { while (true) { if (! (queue.size() == 0)) { processNextElement() } } } private void processNextElement() { Object next = queue.elementAt(0) queue.removeElementAt(0) System.out.println(next)-public class Server extends Thread { Client client int counter public Server(Client _client) { this.client = _client this.counter = 0 } public void run() { while (counter lt; 10) { this.client.queue.addElement(new Integer(counter)) counter++ } throw new RuntimeException(\"counter gt;= 10\") } public static void main(String[] args) { Client c = new Client() Server s = new Server(c) c.start() s.start() } } class Client extends Thread { Vector queue public Client() { this.queue = new Vector() } public void run() { while (true) { if (! (queue.size() == 0)) { processNextElement() } } } private void processNextElement() { Obje
Date : 2008-10-13 Size : 1.08kb User : 阿乌鸟

C语言的的windons下大数阶乘实现,运行良好.感觉很不错,相反啊独特.需要的可以打开开看,主要运用乘法思想的原理编写而成-C language of the majority of factorial windons under achieving, well-functioning. The feeling is very good, contrary ah unique. The need to be opened opened, the main use of the principle of multiplication thinking prepared
Date : 2025-12-19 Size : 9kb User : 袁红

在WINDOW PX操作系统下,利用C++ Builer控件来实现简易的网络聊天系统。本人是C++初学者,所以这个系统的编写见解了一些参考文献,但是主要的是我已经在PC机上编译通过,且实现的功能也挺好。因此,希望与大家得以共享!-WINDOW PX operating system in use C++ Builer controls to achieve the simple online chat system. I C++ Beginners, so this system to prepare a number of references of opinion, but the main thing is that I have compiled in the PC, through, and realize very good functionality. Therefore, I hope to share with everyone!
Date : 2025-12-19 Size : 1kb User :

win7+vs2008下编译完成;本人正在公司里做C++界面编程,这个实现的功能主要是在应用程序里显示链接,大概类似打开的QQ聊天窗口下的那种广告链接效果。-win7+ vs2008 compile complete I am now learning C++ programming interface, the main function of this implementation is shown in the application link, probably similar to the QQ chat window open under the effect of the kind of advertising links.
Date : 2025-12-19 Size : 11.01mb User : ssss
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.