where.c
来自「ngspice又一个电子CAD仿真软件代码.功能更全」· C语言 代码 · 共 46 行
C
46 行
/**********Copyright 1990 Regents of the University of California. All rights reserved.Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group **********/#include "ngspice.h"#include "cpdefs.h"#include "ftedefs.h"#include "dvec.h"#include "ftehelp.h"#include "hlpdefs.h"#include "circuits.h"#include "where.h"voidcom_where(void){ char *msg; /*CDHW typing where with no current circuit caused crashes CDHW*/ if (!ft_curckt) { fprintf(cp_err, "There is no current circuit\n"); return; } else if (ft_curckt->ci_ckt != "") { fprintf(cp_err, "No unconverged node found.\n"); return; } msg = (*ft_sim->nonconvErr)((void *) (ft_curckt->ci_ckt), 0); printf("%s", msg);/* if (ft_curckt) { msg = (*ft_sim->nonconvErr)((void *) (ft_curckt->ci_ckt), 0); fprintf(cp_out, "%s", msg); } else { fprintf(cp_err, "Error: no circuit loaded.\n"); }*/}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?