⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 com_state.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
#include <config.h>#include <ngspice.h>#include <bool.h>#include <wordlist.h>#include <ftedefs.h>#include <inpdefs.h>#include "circuits.h"#include "com_state.h"#include "streams.h"#include "plotting/plotting.h"voidcom_state(wordlist *wl){    if (!ft_curckt) {        fprintf(cp_err, "Error: no circuit loaded.\n");        return;    }    fprintf(cp_out, "Current circuit: %s\n", ft_curckt->ci_name);    if (!ft_curckt->ci_inprogress) {        fprintf(cp_out, "No run in progress.\n");        return;    }    fprintf(cp_out, "Type of run: %s\n", plot_cur->pl_name);    fprintf(cp_out, "Number of points so far: %d\n",            plot_cur->pl_scale->v_length);    fprintf(cp_out, "(That's all this command does so far)\n");    return;}

⌨️ 快捷键说明

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