[推荐]SMPlayer for Windows

一个漂亮的MPlayer外壳,最早好像只有Linux下的版本
现在有了Windows版本,嫌MPlayer界面简陋的可以尝试这个了
下载地址的安装包中已经包含了完整的MPlayer,直接下载安装即可

SMPlayer

项目主页:http://smplayer.sourceforge.net/en/index.php
下载:http://downloads.sourceforge.net/smplayer/smplayer_0.5.51_full_setup.exe

标签:,

相关日志

第一个C++程序

开始学习C++,用惯了java以后觉得这东西真是麻烦。。。
用unicode还挺麻烦的,了解了一下Windows API,学海无涯啊。

  1. #include <Windows.h>
  2. #include <string.h>
  3. #include <iostream>
  4.  
  5. using namespace std;
  6.  
  7. void ListFile(void);
  8.  
  9. int wmain(int argc, TCHAR* argv[]) {
  10.  
  11.     locale loc ("Chinese-simplified");
  12.     wcout.imbue(loc);
  13.  
  14.     if (argc > 1) {
  15.         SetCurrentDirectory(argv[1]);
  16.     }
  17.  
  18.  
  19.     ListFile();
  20.  
  21.     return 0;
  22. }
  23.  
  24. void ListFile(void) {
  25.     WIN32_FIND_DATA fd;
  26.     ZeroMemory(&fd, sizeof(WIN32_FIND_DATA));
  27.  
  28.     TCHAR currDir[255];
  29.     ZeroMemory(currDir, 255);
  30.    
  31.     GetCurrentDirectory(255, currDir);
  32.  
  33.     HANDLE hFile = FindFirstFile(L"*.*", &fd);
  34.  
  35.     if (hFile != INVALID_HANDLE_VALUE) {
  36.         do {
  37.             if (fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
  38.                     // This is a directory entry. Ignore the “.” and “..” entries.
  39.                     if (! (fd.cFileName[0] == '.' && (fd.cFileName[1] == 0 || fd.cFileName[1] == '.'))) {
  40.                         SetCurrentDirectory(fd.cFileName);
  41.                         wcout << "Directory changed to:" << currDir << "\\" << fd.cFileName << endl;
  42.                         ListFile();
  43.                         SetCurrentDirectory(currDir);
  44.                         wcout << "Directory changed to:" << currDir << endl;
  45.                     }
  46.             } else {
  47.                 wcout << fd.cFileName << endl;
  48.             }
  49.         } while (FindNextFile(hFile, &fd));
  50.     }
  51.     FindClose(hFile);
  52. }
标签:, , , , ,

相关日志

Windows Server 2003 Service Pack 2(32-bit x86) 中文版

下载:轻点

升级完没啥感觉,就是uxtheme.dll需要重新破解

补充:类似于升级SP1时候的问题,升级完后IE在解析脚本时出现很多问题,建议直接安装集成版而不是通过升级方式安装

win2003sp2.JPG

标签:, ,

相关日志

Windows Server 2003 Service Pack 2 正式发布

千呼万唤始出来啊,不过暂时没有中文版

标签:, ,

相关日志

京ICP备05059555号