C++头文件不小心改了,怎么改回去

该文主要涉及GCC库内部头文件`bits/c++0x_warning.h`的内容,讨论了该文件在C++0x标准警告处理中的作用。文章指出这是一份用于其他库头文件内部使用的文档,并非直接用户接口。文中提到了GNU General Public License (GPL) v3和GCC Runtime Library Exception v3.1的相关条款,强调了软件的自由分发和修改权。同时,作者在编辑过程中遇到了文件引用问题,对于`<bits/stdc++.h>`和`<graphics.h>`的使用产生了疑问,并询问了如何重新打开和保存修改。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

// Copyright (C) 2007-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library.  This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.

// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.

// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
// <http://www.gnu.org/licenses/>.

/** @file bits/c++0x_warning.h
 *  This is an internal header file, included by other library headers.
 *  Do not attempt to use it directly. @headername{iosfwd}*/ 
 

改成了这个样子

要么是<bits/stdc++.h>要么是<graphics.h>我也不太清楚,求助一下各位大佬,以及这个文件我关了,怎么再打开呢?我在修改回去之前,电脑需要一直开着这个文件吗?

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值