LiveInternet
LiveInternet
x
(+ )
Bhaal
Bhaal
Bhaal
-
69 tea
c++
lithium
nevermind
nirvana
starcraft
windows
3
-
(2)
Slipknot - "Wait and Bleed"
: 2344
: 3
Nirvana - "Lithium"
: 335
: 0
-
e-mail
-
-
(16)
Alex99952
Amenity
Daby-Monika_Boo
For_Anor
Nadenka88
S_agapo
SweetKata
Wibweole
Wizem
_LexIncorp_
_twinka_
nightguest
-
: 25.03.2007
:
:
: 193
:
windows
(
98401
)
↓
c++
lithium
nevermind
nirvana
slipknot
starcraft
3
Bhaal
(
2
)
0
0
0
0
0
0
<a href="https://www.liveinternet.ru/users/bhaal/post34709477/">Работа со временем в C++ под Windows</a><br/>В колонках играет - [url=http://search.li.ru/cgi-bin/search_stat.pl?use_morph=on&search_query=Incubus+-+I+Miss+You+mp3]Incubus - I Miss You[/url]Настроение сейчас - totally depressed, hell on yaИтак, погнали. Сегодня меня спросили, как реализовать работу со временем под окошками. [more=отвечаю] Во-первых, нужно подключить библиотеку time.h [CODE]#include <time.h>[/CODE] А дальше... дальше - дело вкуса. Для примера накидал аналог юниксового sleep(): [CODE] void sleep(unsigned int mseconds) { clock_t goal = mseconds + clock(); while (goal > clock()); } [/CODE] Такж... <a href="https://www.liveinternet.ru/users/bhaal/post34709477/">Читать далее...</a>
C++ Windows
, 26 2007 . 22:00
+
-
Incubus - I Miss You
-
totally depressed, hell on ya
, .
, .
:
c++
windows
:
[1]
, ,
LiveInternet
PDA