Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - fullpath
Search - fullpath - List
自己学习Windows进程管理时做的加强版TaskManger,可以读取进程的全路径、磁盘映像文件路径、命令行参数等,功能可继续扩充,希望对初学者有帮助-study Windows process management,list the current process information,eg. fullpath,command line...
Date : 2025-07-07 Size : 10kb User : goodone

DL : 0
移动机器人的全路径规划算法,可以输出所有路径, vc++编写,很好,推荐-The whole mobile robot path planning algorithm, all paths can be output, vc++ to prepare, very good, recommended
Date : 2025-07-07 Size : 4.46mb User : 周光有

利用遗传算法解决机器人路径规划问题,较好的一个例程,在VC++平台下开发-Using the genetic algorithm to solve robot path planning problem, the better a routine in VC++ platform development
Date : 2025-07-07 Size : 3.7mb User : 李志远

unix du命令的简单实现,主要可以学习glob函数的使用-static int64_t mydu_getblocks(const char*path) { int i int64_t sum=0 static struct stat stat_result glob_t glob_result static int ret static char fullpath[PATHMAX] if (lstat(path, &stat_result)<0) { perror("lstat()") return 0 } if (!S_ISDIR(stat_result.st_mode)) { return stat_result.st_blocks } /************************************************/ snprintf(fullpath, PATHMAX, " s/*", path) ret = glob(fullpath, GLOB_NOCHECK|GLOB_NOSORT, NULL, &glob_result) if (ret!=0) { perror("glob()") return 0 } snprintf(fullpath, PATHMAX, " s/.*", path) ret = glob(fullpath, GLOB_NOCHECK|GLOB_NOSORT|GLOB_APPEND, NULL, &glob_result) if (ret!=0) { perror("glob()") return 0 } sum+= stat_result.st_blocks for (i=0 i<glob_result.gl_pathc ++i) { if (isvalid(glob_result.gl_pathv[i])) { sum+= mydu_getblocks(glob_result.gl_pathv[i]) } } globfree(&glob_result) return sum }
Date : 2025-07-07 Size : 1kb User : aasdf
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.