Embeded visual C++¿¡¼­ timeÇÔ¼ö¸¦ ¾²·Á¸é ¾î¶»°Ô ÇؾßÇϳª¿ä?  
 ±Û¾´ÀÌ:õ¼¼Èñ

, Hit : 795

timeÇÔ¼ö¸¦ ¾²·Á°í Çϴµ¥... ¾ÈµÇ³×¿ä..

srand((unsigned)time(¸Ó½Ã±â¸Ó½Ã±â));

ÀÌ·¸°Ô Çߴµ¥ timeÇÔ¼ö°¡ ¾ø´Ù°í Çϳ׿ä..

msdnÀ» µÚÁ®ºÁµµ... ¸ð¸£°Ú³×¿ä...

¾ÆÀÌ°í... ¹«¾ó include ÇØ¾ß ÇÒÁö... time.h°¡ ¾îµðÀÖ´ÂÁöµµ ¸øã°Ú°í¿ä..

mfcÀÔ´Ï´Ù...

  õ¼¼Èñ
ȸ¿ø´ÔÀÇ ¼Ò°³±ÛÀÌ ¾ø½À´Ï´Ù.
Á¤º¸·Â:0
Ä£Àýµµ:

±è½Â°â

Á¤º¸·Â:0
Ä£Àýµµ:

02-18 23:54
220.76.243.239
ÇÁ·Î±×·¡¹Ö °ü·Ã Áú¹®Àº Á» ÀÚ¼¼È÷ ÇÏ¼Å¾ß ÇÒ °Í °°³×¿ä. ±×Á¤µµ Á¤º¸·Î´Â ¹¹°¡ ¾î¶»°Ô ¾ÈµÈ´Ù´Â°ÇÁö ½ÅÀÌ ¾Æ´ÑÀÌ»ó ¾Ë ¼ö ¾ø´Â ³ë¸©À̴ϱî¿ä. ¹«½¼ ÀÌÀ¯·Î time ÇÔ¼ö¸¦ »ç¿ëÇϽ÷Á´ÂÁö´Â ¸ð¸£°ÚÀ¸³ª ±×³É GetLocalTime, GetSystemTime °ú °°Àº API¸¦ »ç¿ëÇϽô °ÍÀÌ ³ªÀ» µí ½Í±º¿ä.
Xvanguard

Á¤º¸·Â:0
Ä£Àýµµ:

02-19 11:33
210.90.81.126
¾Æ·¡¿Í °°Àº ÇÔ¼ö°¡ ÀÖ°í time.h´Â ¾ø½À´Ï´Ù.
±×¸®°í winbase.h ¿¡ Á¤ÀǵǾîÀÖÀ¸¹Ç·Î µû·Î ÀÎŬ·çµåÇÏ½Ç ÇÊ¿äÙí

GetTickCount
This function retrieves the number of milliseconds that have elapsed since Windows CE was started.
DWORD GetTickCount( void );

GetSystemTime
This function retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC).
void GetSystemTime( LPSYSTEMTIME lpSystemTime );

GetLocalTime
This function retrieves the current local date and time.
void GetLocalTime( LPSYSTEMTIME lpSystemTime );
¤».¤»

Á¤º¸·Â:0
Ä£Àýµµ:

02-19 15:06
61.107.96.100
·Î¶Ç ÃßÃâ±â ¸¸µå½Ã·Á°í Çϴ°ǰ¡?
Good Luck..
´ñ±Û¾²±â     ÀÛ¼ºÀÚ   Æнº¿öµå