messages.c

来自「统计模式识别算法包」· C语言 代码 · 共 58 行

C
58
字号
/******************************************************************************//*                                                                            *//*  MESSAGES - All routines for issuing messages to user                      *//*                                                                            *//* Copyright (c) 1993 by Academic Press, Inc.                                 *//*                                                                            *//* All rights reserved.  Permission is hereby granted, until further notice,  *//* to make copies of this diskette, which are not for resale, provided these  *//* copies are made from this master diskette only, and provided that the      *//* following copyright notice appears on the diskette label:                  *//* (c) 1993 by Academic Press, Inc.                                           *//*                                                                            *//* Except as previously stated, no part of the computer program embodied in   *//* this diskette may be reproduced or transmitted in any form or by any means,*//* electronic or mechanical, including input into storage in any information  *//* system for resale, without permission in writing from the publisher.       *//*                                                                            *//* Produced in the United States of America.                                  *//*                                                                            *//* ISBN 0-12-479041-0                                                         *//*                                                                            *//******************************************************************************/#include <stdio.h>#include <string.h>#include <math.h>#include <ctype.h>#include <stdlib.h>#include "const.h"       // System and limitation constants, typedefs, structs#include "classes.h"     // Includes all class headers#include "funcdefs.h"    // Function prototypesvoid error_message ( char *msg ){   printf ( "\nERROR: %s", msg ) ;}void warning_message ( char *msg ){   printf ( "\nWARNING: %s", msg ) ;}void normal_message ( char *msg ){   printf ( "\n%s", msg ) ;}void progress_message ( char *msg ){   printf ( "%s", msg ) ;}void memory_message ( char *msg ){   printf ( "\nInsufficient memory %s", msg ) ;}

⌨️ 快捷键说明

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