?? header.cc
字號:
// ################################################################################//// name: header.cc //// author: Martin Pelikan//// purpose: prints out the header saying the name of the product, its author,// the date of its release, and the file with input parameters (if // any)//// last modified: February 1999//// #################################################################################include <stdio.h>#include "header.h"#include "startUp.h"// ================================================================================//// name: printTheHeader//// function: prints out the product name, its author, its version, and the// date of its realease//// parameters: out..........output stream//// returns: (int) 0//// ================================================================================int printTheHeader(FILE *out){ // is output stream non-null? if (out==NULL) return 0; // print the header to the output file fprintf(out,"\n===============================================\n"); fprintf(out," Simple Bayesian Optimization Algorithm in C++\n"); fprintf(out," Version 1.0 (Released in March 1999)\n"); fprintf(out," Copyright (c) 1999 Martin Pelikan\n"); fprintf(out," Author: Martin Pelikan\n"); fprintf(out,"-----------------------------------------------\n"); fprintf(out," Parameter values from: %s\n",(getParamFilename())? getParamFilename():"(default)"); fprintf(out,"===============================================\n"); fprintf(out,"\n"); // get back return 0;};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -