1. 程式人生 > >Dev c++在新建文件中插入文件頭

Dev c++在新建文件中插入文件頭

分享圖片 sni pen 技術分享 () ostream AC http default

在菜單欄中依次點擊Tools->Editor Options->Snippets->Default Source

勾選Insert the following code into every new empty file

輸入自己模板點擊OK保存。Date後面可以加<DATETIME>顯示日期

技術分享圖片

/*
    Name:
    Copyright:
    Author:
    Date: <DATETIME>
    Description:
*/
#include<iostream>
using namespace std;
int main()
{
    freopen(
"in","r",stdin); return 0; }

Dev c++在新建文件中插入文件頭