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

📄 debug.java

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 JAVA
字号:
import java.io.*;public class debug{    private static boolean msg_on = false;    private static String filename = null;    public static void SetMessageOn() { msg_on = true; }    public static void SetMessageOff() { msg_on = false; }    public static void SetFilename( String in_name )    throws IOException    {        filename = new String( in_name );        System.setOut( new PrintStream( new FileOutputStream(in_name) ) );    }    public static void print( String x )    {        if ( msg_on ) System.out.print( x );    }    public static void println( String x )    {        if ( msg_on ) System.out.println( x );    }}

⌨️ 快捷键说明

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