Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ϊʲôc¿âtimeº¯Êý²»ÄÜʹÓð¢

ÎÒÏë»ñµÃµ±Ç°µÄʱ¼ä£¬windows mobileÉÏÄÜÓÃtime_t time(time_t *timer)º¯Êý£¬Ìáʾlnk´íÎó¡£ÎªÊ²Ã´²»ÄÜÓÃÄØ£¿ ÐèÒªÔö¼ÓʲôÁ¬½Ó¿âÂð£¿Ãû×ÖÊÇʲô£¿
Çå³þµÄ¼ÇµÃ c¿âµÄtime_tÊÇ¿ÉÒÔʹÓõģ¬Ó¦¸ÃÊÇÆäËûµÄÎÊÌâµ¼Öµġ£

ÓÃGetLocalTime°É£¬ÄǸötime£¨£©È·Êµ²»ÄÜÓá£

Èç¹ûwindows mobileÊÇGÍøµÄÊÖ»ú£¬Ê±¼ä¿ÉÄÜÊDz»×¼È·µÄ

²»ÄÜʹ£¬WINDOWSÏÂÖ»Óд°ÌåTIMERºÍÏß³ÌTIMER¡£C¿âµÄTIMERÒ²Ö»ÊÇÓÃÕâÁ½¸ö·â×°µÄ¡£

ÓÃÕâ¸öº¯Êý Ò»ÑùµÄtimeGetTime(void)

ÒýÓÃ
ÎÒÏë»ñµÃµ±Ç°µÄʱ¼ä£¬windows mobileÉÏÄÜÓÃtime_t time(time_t *timer)º¯Êý£¬Ìáʾlnk´íÎó¡£ÎªÊ²Ã´²»ÄÜÓÃÄØ£¿ ÐèÒªÔö¼ÓʲôÁ¬½Ó¿âÂð£¿Ãû×ÖÊÇʲô£¿


        time_t inTT;
SYSTEMTIME sysTimeStruct;
FILETIME fTime;
ULARGE_INTEGER int64time;
time_t locTT = 0;

// GetSystemTime( &sysTimeStruct );
GetLocalTime(&sysTimeStruct);
if ( SystemTimeToFileTime( &sysTimeStruct, &fTime ) )
{
memcpy( &int64time, &fTime, sizeof( FILETIME ) );
/* Subtract the value for 1970-01-01 00:00 (UTC) */
int64time.QuadPart -= 0x19db1ded53e8000;
/* Convert to seconds. */
int64time.QuadPart /= 10000000;
inTT = int64time.QuadPart;
}
inTTÊÇ1970-01-01ÒÔÀ´µÄÃëÊý

ûÓÐÕâôÓùý£¬¶¼ÊÇÖ±½ÓGetLocalTime»ñÈ¡


Ïà¹ØÎÊ´ð£º

C/SÏîÄ¿¼Ü¹¹Éè¼Æ----ÇóÖú - Java / Java SE

±¾ÈËÕýÔÚÓÃJava×öÒ»¸öC/S¼Ü¹¹µÄÏîÄ¿£¬ 
¿ÉÊÇÓÉÓÚÏîÄ¿±È½Ï´ó£¬Ç°ÆڶԼܹ¹µÄÉè¼ÆÓÈÆäÖØÒª£¬ÒòΪºóÆÚ¿ÉÄÜËæʱ»á¼Ó¸ö¹¦ÄÜ»òÕßÈ¥µôijЩ¹¦ÄÜ¡£ 
ËùÒÔÌصØÑ°ÇóÈçºÎÉè¼ÆC/SµÄ¼Ü¹¹Ê¹³ÌÐò¸ü¼ÓÃæÏò¶ÔÏó¸ü¼ÓÒ×ÓÚά ......

C/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý - C/C++ / C++ ÓïÑÔ

´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......

ÇóÖú£ºC´úÂëchange toVB´úÂë - VB / »ù´¡Àà

ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó­¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......

¿ÄÇóC/SÔ´Âë - Delphi / Êý¾Ý¿âÏà¹Ø

ÏÖÓÐparadoxÊý¾Ý¿âʹÓÃBDEÇý¶¯£¬Äâ¸ÄΪC/S°æ£¬Ôö¼ÓÍøÂç¶ÁÈ¡Êý¾Ý¹¦ÄÜ¡£ÇëÄÄλ´óÏÀ£¬ÌṩԴÂë¡£
˵¾ä²»¿ÍÆøµÄ»°£¬ÓÃparadox×öC/SÊÇ×ÔÑ°ËÀ·¡£
»»Ò»¸öÍøÂçÊý¾Ý¿â

ÒòΪ²»Ï붯´óÊÖÊõ£¬½öÄܹ²Ïí¼¸¸öÎļþ¼´¿É¡£

Da ......

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

ÎÒÃǵÄCÓïÑԿζ¼½áÁË¡£¸Ð¾õÀÏʦºÃÏñʲô¶¼Ã»½²ËƵġ£
ÒÔºó¾Í²»»á¿ª¿ÎÁË¡£ÎÒ»¹Ïë¼ÌÐøѧC£¬ÒªÔõôѧ²Å¸ßЧÇÒÇáËÉÄØ£¿
C¶ÔÊýѧҪÇóºÜ¸ßÂð£¿ÊýѧÀÏʦ½²¿Î×ÜÊÇ˵£º£º¡°Õâ¸ö¹«Ê½¶ÔÄãÃǼÆËã»úרҵµÄºÜÖØÒªµÄ£¡¡±¡£¿ÉÊÇÎÒà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ