Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : c++

Ò»¸öcСÎÊÌ⣨²ËÄñÌáÎÊ£© - C/C++ / CÓïÑÔ

ÎÒˮƽºÜ²Ë£¬ÌáÎʵĹÀ¼ÆÒ²ºÜ¸ãЦ£¬ºÇºÇ£¬¸ßÊÖ¼ûÁ¡£
ÎÒÔÚ´úÂëÀïÃæÌí¼ÓÁËÒ»¸ö.cÎļþA£¬ÀïÃæÓÐÒ»¸öº¯Êýf£¬È»ºóÎÒÔÚÁíÍâÒ»¸ö.cÎļþBÖе÷Óô˺¯Êýf£¬µ«ÊÇ£¬BÎļþÖв¢Ã»Óаüº¬¶Ôº¯ÊýfµÄÉùÃ÷£¬Ò²¾ÍÊÇ˵ûÓаüº¬ÎļþAµÄ.h£¬¶Ôº¯ÊýfҲûÓÃ×öexternµÄÉùÃ÷¡£
ÎÊÌâÊÇBÎļþ¶ÔAÎļþÖеĺ¯Êýfµ÷ÓþÓȻûÓÐÎÊÌ⣿
²»¶®°¡£¬¸ú¸ßÊÖѧϰ
C ......

delphi ת bcb - C++ Builder / »ù´¡Àà

function ReadTime(intDevno: Integer; var strGet: Pchar): Integer; stdcall; external 'ast.dll'; //¶ÁÈ¡ÈÕÆÚʱ
bcbµ÷ÓÃdelphi µÄdllÕâ¾äÔÚbcbÖÐÈçºÎת»¯¡£
Ó¦¸ÃÊÇC/C++ code:
int __stdcall ReadTime(int intDevno, char *strGet);

C/C++ code:

void __fastcall TForm1::FormCreate(TObject *Sender)
{
......

ÈçºÎѧºÃC°¡ - C/C++ / CÓïÑÔ

ÎÒÃǵÄCÓïÑԿζ¼½áÁË¡£¸Ð¾õÀÏʦºÃÏñʲô¶¼Ã»½²ËƵġ£
ÒÔºó¾Í²»»á¿ª¿ÎÁË¡£ÎÒ»¹Ïë¼ÌÐøѧC£¬ÒªÔõôѧ²Å¸ßЧÇÒÇáËÉÄØ£¿
C¶ÔÊýѧҪÇóºÜ¸ßÂð£¿ÊýѧÀÏʦ½²¿Î×ÜÊÇ˵£º£º¡°Õâ¸ö¹«Ê½¶ÔÄãÃǼÆËã»úרҵµÄºÜÖØÒªµÄ£¡¡±¡£¿ÉÊÇÎÒû¼ûÄĸöC³ÌÐòÖÐÓõ½ ÄÇЩ¹«Ê½µÄ°¡£¡
¶àд´úÂëÁ·Ï°

CÓïÑÔ¶Ô¼ÆËã»úºÜÖØÒªµÄ£¡Â¥Ö÷CÓïÑÔÒ»¶¨ÒªÑ§ºÃ£¡²»È»Ò ......

ÔÚCÖÐÈçºÎ×öÑÓʱ - C/C++ / CÓïÑÔ

ÎÒ·¢ÏÖÓÿյÄforÓï¾ä×öÑÓʱµÄʱºòÀÏ»úÆ÷»áºÜ³ÔÁ¦¡£C/C++ code:
³¬¹ýÁù°ÙÍò´ÎµÄʱºòCPUÕ¼ÓÃÂÊ´ïµ½100%
ÓÐûÓÐκÍÒ»µãµÄ·½·¨ÄØ£¿

ºÃÁË¡£Ð»Ð»¹þ

²»ÒªÍüÁ˽áÌùÓ´

sleep£¬

Êǵģ¬sleepº¯Êý£¬°üº¬ÔÚ<windows.h>Í·ÎļþÖÐ,×¢ÒâsleepÖÐs´óд

ÎÒÔÚDevÖÐûÓаüº¬windows.hҲûÓÐÓÃSleepµÄ´óд£¬»¹ÊÇ¿ÉÒÔµÄÄØ¡ ......

СµÜÎÒ´ÓCתC++ÓиöÎÊÌâÇë½Ì´ó¼Ò - C/C++ / C++ ÓïÑÔ

C/C++ code:
#include <iostream>
using namespace std;
class Complex
{
private:
int real;
int image;
public:
Complex ()
{
real = 0;
image = 0;
}
Complex (int n,int i)
{
real = n;
image = ......

ÇëÎʸöCÀïÃæfmod()µÄÎÊÌâ - C/C++ / CÓïÑÔ

ÎÒÏëÖªµÀfmod()Õâ¸öº¯ÊýÊÇÔõÑùʵÏÖµÄ...Ò²¾ÍÊÇ˵ÎÒÏëÖªµÀËüµÄÔ´´úÂë...ÒòΪ×Ô¼ºÍêȫû˼·ÔõôдÕâ¸öº¯Êý...ËùÒÔÖ»ÄÜÕÒ³öËüµÄʵÏÖ´úÂëÁË...µ«ÊǸÕÏÂÁ˸öCÓïÑԿ⺯ÊýÔ´ÂëµÄ°ü...²éÁË°ëÌìÒ²²éµÃºÜãȻ...ËùÒÔ...Ï£ÍûÄĸö˧ÎÑ´óÏÀ·¹ý±ð´í¹ý...¸øСµÜÌùÉÏÕ⺯ÊýµÄÔ´´úÂë°É...ллÁË
fmodµÄ¹¦ÄÜÊÇʲô£¿
²»¶®£¬°ï¶¥

double ......
×ܼǼÊý:629; ×ÜÒ³Êý:105; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [1] [2] 3 [4] [5] [6] [7] [8] [9] [10]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ