Groups
Groups
Sign in
Groups
Groups
UIT_OOP_B13
Conversations
About
Send feedback
Help
tetris
0 views
Skip to first unread message
hải thành nguyễn
unread,
Dec 17, 2010, 9:49:36 AM
12/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uit_o...@googlegroups.com
Thầy gửi cho em lại code khi tự động đi xuống và hàm lấy thời gian đi thầy, hôm thứ 5 thầy cho tụi em xem mà em chép lại không kịp.
Cảm ơn thầy.
--
Nguyễn Hải Thành
Khoa :KTMT
Trương đại học Công Nghệ Thông Tin
MSSV: 09520649
sđt : 01699131606
khôi nguyên-uit
unread,
Dec 17, 2010, 10:09:13 AM
12/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uit_o...@googlegroups.com
tự động đi xuống ý bạn nói là rơi xuống đó hả
còn lấy thời gian là sao thế
mình nghĩ dùng delay là đủ rồi mà
nguyen van hung
unread,
Dec 17, 2010, 10:21:42 AM
12/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to UIT_OOP_B13
hic thu 5 tuong nghi roi chu , gui code cho tui em tham khao voi thay
oi, bai nay xuong qua hic hic ^^
On Dec 17, 10:09 pm, khôi nguyên-uit <
hoaithuong20011...@gmail.com
>
wrote:
khôi nguyên-uit
unread,
Dec 17, 2010, 10:23:16 AM
12/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uit_o...@googlegroups.com
mình làm 7 ngày có ai làm ít hơn không???????
Toan Nguyen Van
unread,
Dec 17, 2010, 11:03:12 AM
12/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uit_oop_b13
Đoạn code cho nó rơi xuống
ne=LayGio();
if ((ne-ol)>de)
{
t.K_GXoa(tro);
t.K_DichXuong();
ol=ne;
t.K_GXuat(tro);
}
Lấy giờ
unsigned long LayGio()
{
unsigned long k;
struct time t;
gettime(&t);
k=(t.ti_min*60+t.ti_sec)*100+t.ti_hund;
return k;
}
2010/12/17 khôi nguyên-uit
<
hoaithuon...@gmail.com
>
hải thành nguyễn
unread,
Dec 17, 2010, 11:04:34 AM
12/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uit_o...@googlegroups.com
em cảm ơn thầy.
Phan Sinh Thuong
unread,
Dec 17, 2010, 8:12:47 PM
12/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to UIT_OOP_B13
@khôi nguyên: 1 ngày :D
về cái lấy time mình dùng hàm clock() lấy time của chương trình, mình
thấy cái này sài hay hơn cái gettime() kìa ^^
Reply all
Reply to author
Forward
0 new messages