📄 tutils.h
字号:
// tutils.h// definitions for utility functions// Convert all occurrences of character c1 to c2 in string svoid StrSub(char *s, int c1, int c2);// Return the minimum of two values.template <class T>inline T Min(T x, T y){ return (x < y) ? x : y;}// return base name of a file// e.g. given "/foo/bar/file.c" return "file.c"// assumes Unix style pathnameschar *BaseName(char *path);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -