⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 misc.c

📁 MDE 图形引擎
💻 C
字号:
#include <stdlib.h>#include <string.h>#include "vacs.h"// This function get the value of VACSROOT environment varaiblechar* GetVacsRoot (){    char* root;    root = getenv (ENV_VACSROOT);        if (root)        return root;    else        return DIR_FS_ROOT;}// This function get the absolute path name based on vacs root.// The result pathe name returned in pathnamechar* GetAbsolutePathName (const char* filename, char* pathname){    char* vacs_root;        vacs_root = GetVacsRoot ();         // "/vacs3/"    strcpy (pathname, vacs_root);    strcat (pathname, filename);        // "/vacs3/bin/vacs"    return pathname;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -