復(fù)數(shù)運(yùn)算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) Complex(int a) { Real = a Image = 0 } void print() const friend Complex operator+ ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c ) private: double Real, Image }
標(biāo)簽: Complex double iostream include
上傳時(shí)間: 2016-06-30
上傳用戶(hù):wang5829
MediaPlayer代碼,部分代碼,合適請(qǐng)用: import java.awt.* import java.awt.event.* import javax.swing.* import javax.media.* import java.io.* import java.util.* //為了導(dǎo)入Vector //import com.sun.java.swing.plaf.windows.* public class MediaPlayer extends JFrame implements ActionListener,Runnable { private JMenuBar bar //菜單條 private JMenu fileMenu,choiceMenu,aboutMenu private JMenuItem openItem,openDirItem,closeItem,about,infor private JCheckBoxMenuItem onTop private boolean top=false,loop //設(shè)定窗口是否在最前面 private Player player //Play是個(gè)實(shí)現(xiàn)Controller的接口 private File file,listFile //利用File類(lèi)結(jié)合JFileChooser進(jìn)行文件打開(kāi)操作,后則與list.ini有關(guān)
標(biāo)簽: MediaPlayer 代碼
上傳時(shí)間: 2016-07-08
上傳用戶(hù):爺?shù)臍赓|(zhì)
用VB做QQ強(qiáng)制聊天器 用VB做QQ強(qiáng)制聊天器 大家好..我是愚罪..QQ:303931726 今天教大家來(lái)用VB做QQ強(qiáng)制聊天器..... 廢話不多說(shuō)了``` 直接打開(kāi)VB 新建一個(gè)EXE文件..新建一個(gè)Text和一個(gè)Command按紐 最后直接把代碼寫(xiě)上去就可以了... private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long private Sub Command1_Click() ShellExecute 0, "open", "tencent://message/?uin=" + Text1.Text, "", "", 1 End Sub 可以了...生成試驗(yàn)下..我就不美化了..你們可以去美化下``` 看。。成功了
上傳時(shí)間: 2014-01-19
上傳用戶(hù):日光微瀾
xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661). L2TP allows you to tunnel PPP over UDP. Some ISPs use L2TP to tunnel user sessions from dial-in servers (modem banks, ADSL DSLAMs) to back-end PPP servers. Another important application is Virtual private Networks where the IPsec protocol is used to secure the L2TP connection (L2TP/IPsec, RFC 3193). The L2TP/IPsec protocol is mainly used by Windows and Mac OS X clients. On Linux, xl2tpd can be used in combination with IPsec implementations such as Openswan.
標(biāo)簽: implementation Tunnelling Protocol xl2tpd
上傳時(shí)間: 2014-01-20
上傳用戶(hù):Altman
AC97 Sample Driver and Related Code Samples. This directory contains a sample AC97 adapter driver and several related code samples. These samples need to be compiled with the Windows .NET or Windows XP build environment but are binary compatible with older operating systems like Windows 2000. To build the samples, enter any Windows .NET or Windows XP build environment and run build –cZ from this directory. The AC97 sample driver also runs in Windows 98 Second Edition or Windows Me, but the property page DLL and control panel application do not. For more information, please refer to the readme.htm files in each subdirectory. The INF file in the driver directory installs all of the samples in the subdirectories. The header file in this directory defines the private property used by each of the samples.
標(biāo)簽: directory contains Related Samples
上傳時(shí)間: 2014-07-06
上傳用戶(hù):鳳臨西北
一個(gè)基于Java的小游戲,有助于幫助理解Java中Class之間的數(shù)據(jù)傳遞以及public, private variable的不同用法。
上傳時(shí)間: 2016-10-02
上傳用戶(hù):jcljkh
個(gè)人編的rsa的源代碼,算出public—private key;其中有Euclid,Extend Euclid的實(shí)現(xiàn),以及Millar-Rabin test的實(shí)現(xiàn),和加密/解密
上傳時(shí)間: 2016-10-21
上傳用戶(hù):1427796291
The literature of cryptography has a curious history. Secrecy, of course, has always played a central role, but until the First World War, important developments appeared in print in a more or less timely fashion and the field moved forward in much the same way as other specialized disciplines. As late as 1918, one of the most influential cryptanalytic papers of the twentieth century, William F. Friedman’s monograph The Index of Coincidence and Its Applications in Cryptography, appeared as a research report of the private Riverbank Laboratories [577]. And this, despite the fact that the work had been done as part of the war effort. In the same year Edward H. Hebern of Oakland, California filed the first patent for a rotor machine [710], the device destined to be a mainstay of military cryptography for nearly 50 years.
標(biāo)簽: cryptography literature has Secrecy
上傳時(shí)間: 2016-12-08
上傳用戶(hù):fxf126@126.com
Quaternions are hypercomplex numbers (that is generalizations of the complex numbers to higher dimensions than two). For an introduction, refer to the Wikipedia article on Quaternions. Quaternion toolbox for Matlab® extends Matlab® to allow calculation with matrices of quaternions in almost the same way that one calculates with matrices of complex numbers. This is achieved by defining a private type to represent quaternion matrices and overloadings of many standard Matlab® functions. The toolbox supports real and complex quaternions (that is quaternions with four real or complex components).
標(biāo)簽: numbers generalizations hypercomplex Quaternions
上傳時(shí)間: 2014-11-27
上傳用戶(hù):jhksyghr
本文以實(shí)現(xiàn)最簡(jiǎn)單的SERIAL KITL為目的,就其實(shí)現(xiàn)代碼進(jìn)行跟蹤調(diào)試,這些代碼跨越了WINCE的PLATFORM、PUBLIC、private三大主要目錄,有些煩瑣,不過(guò)只要能調(diào)通,一切工作和彎路都是值得的。我把調(diào)試經(jīng)驗(yàn)和個(gè)人理解寫(xiě)下來(lái),希望能幫助別人少走彎路
上傳時(shí)間: 2013-12-10
上傳用戶(hù):牛布牛
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1