获得文件路径 _pgmptr, _makepath, _splitpath
摘要:
#include #include int main(void){ char path_buffer[_MAX_PATH]; char drive[_MAX_DRIVE]; char dir[_MAX_DIR]; char fname[_MAX_FNAME]; char ext[_MAX_EXT]; _makepath(path_buffer, "c", "\\sample\\myprogarm\\","makepath", "txt" ); // C4996 printf( "Path created 阅读全文
posted @ 2013-07-28 12:42 wps712 阅读(939) 评论(0) 推荐(0) 编辑