utils.h
来自「AutoCAD DWG-file viewer」· C头文件 代码 · 共 34 行
H
34 行
/****************************************************************/
/* COPYRIGHT NOTICE */
/* ---------------- */
/* All software in this listing remain the strict copyright */
/* of Ilija Kovacevic and cannot be copied or used in any way */
/* except by written permission of Ilija Kovacevic. */
/* */
/* Copyright (c) 1992 Ilija Kovacevic */
/* www.kov.com email ilija@kov.com */
/****************************************************************/
#ifndef _UTILS
#define _UTILS
#include <stdarg.h>
#ifdef UNIX
char *strupr( char *string );
long filelength( int file );
#endif
void convert_string_to_lower_case( char *string );
DOUBLE rad_to_degrees( DOUBLE );
char *get_memory( int size );
void read_error( char *fmt,... );
void warn_perror( char *fmt,... );
void set_extension( char *string,char *extension );
void throw_exception( char *fmt, ... );
void warning( char *fmt,... );
void terminate( int exit_code );
void dprintf( char*, ... );
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?