李超

大象無形 大音希聲

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  218 随笔 :: 5 文章 :: 48 评论 :: 4 引用

公告

        //declare
        TCHAR tstrCurrentPath[MAX_PATH];

        
//initialize
        memset(tstrCurrentPath, 0, MAX_PATH);

        
//Get
        GetCurrentDirectory(MAX_PATH, tstrCurrentPath);

        
//Output
        wcout << tstrCurrentPath << endl;
posted on 2008-02-02 16:02 coderlee 阅读(5509) 评论(1) 编辑 收藏