
General Test
DavyHwang
这个作者很懒,什么都没留下…
展开
-
Simply Beep in console program
If I wana beep in my console program, I just need use "BOOL MessageBeep(UNIT nType)", which is illustrated as follows. #include int main() { for ( UINT i=0; i<100; i++ ) { Message原创 2012-10-16 18:09:04 · 904 阅读 · 0 评论 -
Play wav voice file in console program
First, you need prepare the wav voice file in the current folder, e.g., "door2.wav" here. Then, just 1 line code needs: #include #include "tchar.h" #pragma comment(lib, "winmm.lib") int mai原创 2012-10-16 17:10:14 · 713 阅读 · 0 评论