errormsg.c

来自「WCDMA的仿真程序,分别用C和MATLAB两种语言仿真」· C语言 代码 · 共 34 行

C
34
字号
/* | | Copyright disclaimer: |   This software was developed at the National Institute of Standards |   and Technology by employees of the Federal Government in the course |   of their official duties. Pursuant to title 17 Section 105 of the |   United States Code this software is not subject to copyright |   protection and is in the public domain. | |   We would appreciate acknowledgement if the software is used. |*/#include <stdio.h>#include <stdlib.h>void IssueError(char * MsgString){fprintf(fptr,"%s",MsgString);printf("%s",MsgString);fclose(fptr);return;}void ErrorExit(char * MsgString){fprintf(fptr,"%s",MsgString);printf("%s",MsgString);fclose(fptr);exit(0);}	

⌨️ 快捷键说明

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