Ϊʲô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)
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»ñÈ¡
Ïà¹ØÎÊ´ð£º
´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......
´ó¼ÒºÃ£¬ÎÒÊÇÐÂÊÖ£¬¸Õ¿ªÊ¼½Ó´¥C/S½á¹¹µÄ³ÌÐò£¬ÏëҪʵÏÖÒ»¸ö·ÖÒ³¹¦ÄÜ£¬´ó¼ÒÓÐûÓкõãµÄ·ÖÒ³¿Ø¼þ»òÕß³ÌÐòÖ®ÀàµÄ£¬µ±È»Ô´³ÌÐò¸üºÃ£¬·ñÔò˵˵Á÷³ÌÒ²¿ÉÒÔ£¬Ð¡Ãü±°¡£¬ÔÚÏߵȡ£¡£¡£¡£
´ó¼Ò°ï°ï棬ллÁË£¬¼±¡£¡£¡£
Ä ......
[align=center][/align]CÓïÑÔÖÐÈçºÎÅжÏÒ»¸ödoubleÐ͵ÄÊý×飨Èçdouble S[20]£»£©ÊÇÒ»¸ö¿ÕÊý×飬¼´Êý×éÖÐûÓзÅÈκÎÖµ¡£
û°ì·¨¡£
"ÈκÎÖµ" µÄ¶¨Òå?
¾ÍÊÇÊý×éÊǿյģ¬Ã»ÓÐΪËü¸³Öµ
¿ÉÒÔ¿¼Â ......
A±í ÓÐÁ½¸ö×Ö¶Î
id ΨһÊý×ÖÓò
InfoTxt text ÀàÐÍ
ÎÒÏÖÔÚÒª°Ñ id ²»ÊÇ14 µÄËùÓÐ InfoTxt×ֶΠÎı¾ºóÃæ ¶¼¼ÓÉÏ 'aaa'
°´ÏÂÃæÖ´ÐÐÏÂÀ´ Ö»Óбí×îºóÒ»ÐмÓÉÏÁË 'aaa' ......