wj's blog

博客归档

  • ▼  2006 (18)
    • ►  十一月 (2)
    • ►  十月 (1)
    • ▼  九月 (15)
      • 雾灵山照片
      • 我的blog回顾
      • Apache-ASP的配置
      • linux 硬盘维护
      • 校园代理上网方案
      • 二维数组new小结
      • 线性y=ax+b和y=ax拟合的算法代码
      • vc 可停靠的窗体
      • vc读取excel的方法
      • vc 运行目录
      • 软件收集
      • 快乐种子
      • gd 库安装
      • 7种起床仪式让你睡到自然醒
      • 测试

星期五, 九月 22, 2006

vc 运行目录

#include "direct.h"

char buffer[_MAX_PATH];
_getcwd(buffer,_MAX_PATH);
m_dib.path.Format (buffer);
m_dib.path+="\\img.dat";
发帖者 wenjin 时间: 9:42 上午

没有评论:

发表评论

较新的博文 较早的博文 主页
订阅: 博文评论 (Atom)