来自:http://blog.csdn.net/gzshun/article/details/8294305

找了好几个CodeBlocks的背景色,都不太如人意。感觉下面这个还不错,所以转来给大家分享(部分由修改):

Windows下面的配置:

codeblocks的配置文件是default.conf,在Windows系统下,该文件在C:\Documents and Settings\Administrator\Application Data\CodeBlocks

找到后用下面的代码代替其中的<colour_sets></colour_sets>内容即可,注意修改前请务必关闭CodeBlocks。

 <colour_sets>
<ACTIVE_COLOUR_SET>
<str>
<![CDATA[vim]]>
</str>
</ACTIVE_COLOUR_SET>
<ACTIVE_LANG>
<str>
<![CDATA[C/C++]]>
</str>
</ACTIVE_LANG>
<oblivion>
<NAME>
<str>
<![CDATA[oblivion]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="238" g="238" b="236" />
</FORE>
<BACK>
<colour r="46" g="52" b="54" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="238" g="238" b="236" />
</FORE>
<BACK>
<colour r="46" g="52" b="54" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style11>
<FORE>
<colour r="52" g="101" b="164" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="52" g="101" b="164" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style17>
<FORE>
<colour r="164" g="0" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style17>
<style18>
<FORE>
<colour r="164" g="0" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style18>
<style19>
<FORE>
<colour r="173" g="127" b="168" />
</FORE>
<BACK>
<colour r="46" g="52" b="54" />
</BACK>
<BOLD bool="1" />
<NAME>
<str>
<![CDATA[Number]]>
</str>
</NAME>
</style19>
<style21>
<FORE>
<colour r="233" g="185" b="110" />
</FORE>
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="78" g="154" b="6" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style27>
<FORE>
<colour r="185" g="49" b="0" />
</FORE>
<BACK>
<colour r="30" g="3" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="185" g="49" b="0" />
</FORE>
<BACK>
<colour r="30" g="3" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style31>
<FORE>
<colour r="245" g="121" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Character]]>
</str>
</NAME>
</style31>
<style33>
<FORE>
<colour r="211" g="215" b="207" />
</FORE>
<NAME>
<str>
<![CDATA[UUID]]>
</str>
</NAME>
</style33>
<style34>
<FORE>
<colour r="78" g="154" b="6" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style36>
<FORE>
<colour r="233" g="185" b="110" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style38>
<BACK>
<colour r="23" g="32" b="24" />
</BACK>
<NAME>
<str>
<![CDATA[Selection]]>
</str>
</NAME>
</style38>
<style39>
<BACK>
<colour r="24" g="33" b="33" />
</BACK>
<NAME>
<str>
<![CDATA[Active line]]>
</str>
</NAME>
</style39>
<style40>
<BACK>
<colour r="114" g="159" b="207" />
</BACK>
<NAME>
<str>
<![CDATA[Matching brace highlight]]>
</str>
</NAME>
</style40>
<style41>
<FORE>
<colour r="238" g="238" b="236" />
</FORE>
<BACK>
<colour r="164" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[No matching brace highlight]]>
</str>
</NAME>
</style41>
<NAME bool="1">
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
<editor>
<keywords>
<SET4>
<str>
<![CDATA[__cplusplus __GNUC__ __GNUG__]]>
</str>
</SET4>
</keywords>
</editor>
</cc>
</oblivion>
<desert>
<NAME>
<str>
<![CDATA[desert]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<BACK>
<colour r="43" g="43" b="43" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<BACK>
<colour r="43" g="43" b="43" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style11>
<FORE>
<colour r="105" g="105" b="105" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="105" g="105" b="105" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style19>
<FORE>
<colour r="255" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[Number]]>
</str>
</NAME>
</style19>
<style21>
<FORE>
<colour r="189" g="183" b="107" />
</FORE>
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="255" g="128" b="64" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style27>
<FORE>
<colour r="255" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="255" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style31>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Character]]>
</str>
</NAME>
</style31>
<style33>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[UUID]]>
</str>
</NAME>
</style33>
<style34>
<FORE>
<colour r="205" g="92" b="92" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style36>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style39>
<FORE>
<colour r="192" g="192" b="192" />
</FORE>
<BACK>
<colour r="255" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[Active line]]>
</str>
</NAME>
</style39>
<style40>
<BACK>
<colour r="128" g="128" b="192" />
</BACK>
<NAME>
<str>
<![CDATA[Matching brace highlight]]>
</str>
</NAME>
</style40>
<NAME>
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
<editor>
<keywords />
</editor>
</cc>
</desert>
<ulipad>
<NAME>
<str>
<![CDATA[ulipad]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="141" g="176" b="211" />
</FORE>
<BACK>
<colour r="17" g="36" b="53" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="141" g="176" b="211" />
</FORE>
<BACK>
<colour r="17" g="36" b="53" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style11>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style15>
<FORE>
<colour r="111" g="66" b="66" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword (documentation)]]>
</str>
</NAME>
</style15>
<style16>
<FORE>
<colour r="111" g="66" b="66" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword (documentation)]]>
</str>
</NAME>
</style16>
<style17>
<FORE>
<colour r="0" g="0" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style17>
<style18>
<FORE>
<colour r="0" g="0" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style18>
<style21>
<FORE>
<colour r="255" g="255" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="141" g="176" b="211" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style27>
<FORE>
<colour r="0" g="255" b="128" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="0" g="255" b="128" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style33>
<FORE>
<colour r="219" g="112" b="219" />
</FORE>
<NAME>
<str>
<![CDATA[UUID]]>
</str>
</NAME>
</style33>
<style34>
<FORE>
<colour r="128" g="128" b="128" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style36>
<FORE>
<colour r="240" g="128" b="79" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style38>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<BACK>
<colour r="46" g="159" b="39" />
</BACK>
<NAME>
<str>
<![CDATA[Selection]]>
</str>
</NAME>
</style38>
<style39>
<BACK>
<colour r="255" g="255" b="255" />
</BACK>
<NAME>
<str>
<![CDATA[Active line]]>
</str>
</NAME>
</style39>
<editor>
<keywords>
<SET4>
<str>
<![CDATA[__cplusplus __GNUC__ __GNUG__]]>
</str>
</SET4>
</keywords>
</editor>
<NAME>
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
</cc>
</ulipad>
<default>
<NAME>
<str>
<![CDATA[default]]>
</str>
</NAME>
</default>
<vim>
<NAME>
<str>
<![CDATA[vim]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="170" g="170" b="170" />
</FORE>
<BACK>
<colour r="0" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="170" g="170" b="170" />
</FORE>
<BACK>
<colour r="0" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style9>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment line (normal)]]>
</str>
</NAME>
</style9>
<style10>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment line (normal)]]>
</str>
</NAME>
</style10>
<style11>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style13>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment line (documentation)]]>
</str>
</NAME>
</style13>
<style14>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment line (documentation)]]>
</str>
</NAME>
</style14>
<style19>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Number]]>
</str>
</NAME>
</style19>
<style20>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Number (inactive)]]>
</str>
</NAME>
</style20>
<style21>
<FORE>
<colour r="0" g="255" b="0" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="225" g="160" b="0" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style24>
<FORE>
<colour r="160" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword (inactive)]]>
</str>
</NAME>
</style24>
<style27>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style29>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String (inactive)]]>
</str>
</NAME>
</style29>
<style30>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String (inactive)]]>
</str>
</NAME>
</style30>
<style31>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Character]]>
</str>
</NAME>
</style31>
<style34>
<FORE>
<colour r="85" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style35>
<FORE>
<colour r="85" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor (inactive)]]>
</str>
</NAME>
</style35>
<style36>
<FORE>
<colour r="160" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style37>
<FORE>
<colour r="170" g="170" b="170" />
</FORE>
<NAME>
<str>
<![CDATA[Operator (inactive)]]>
</str>
</NAME>
</style37>
<style38>
<FORE>
<colour r="0" g="0" b="0" />
</FORE>
<BACK>
<colour r="170" g="170" b="170" />
</BACK>
<NAME>
<str>
<![CDATA[Selection]]>
</str>
</NAME>
</style38>
<style40>
<FORE>
<colour r="255" g="0" b="0" />
</FORE>
<BACK>
<colour r="0" g="0" b="0" />
</BACK>
<ITALICS bool="1" />
<NAME>
<str>
<![CDATA[Matching brace highlight]]>
</str>
</NAME>
</style40>
<editor>
<keywords>
<SET4>
<str>
<![CDATA[__cplusplus __GNUC__ __GNUG__]]>
</str>
</SET4>
</keywords>
</editor>
<NAME>
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
</cc>
</vim>
</colour_sets>

效果如下:

然后再进行一些后续设置(为了使光标显示):

依次Settings-Editor到如下界面:

width是值光标的宽度,colour是指光标的颜色,选择你喜欢自己的配置即可。

如果你想改变字体的大小,请进行如下设置:

依次Settings-Editor到如下界面:

选择最右边的Choose按钮,将进入字体设置界面,根据个人喜好设置即可。

CodeBlocks背景主题的设置的更多相关文章

  1. VS2017设置背景主题

    一.VS2017设置背景主题 1.下载并安装Color Theme Editor for Visual Studio 2017和MoeIDE (图中红圈中的两个插件,工具-扩展和更新-联机-右上角搜索 ...

  2. eclipse背景主题

    长时间对着电脑敲代码,眼睛受不了啊,果然程序员就没人权吗?之前咱给codeblocks背景换了颜色,去官网上粘粘代码然后替换一下就行了,这里不多说, 这里说的是给ecllipse换主题,按理说ecli ...

  3. android studio eclipse keymap theme 快捷键 主题风格设置

    android studio eclipse keymap theme 快捷键 主题风格设置 将Android Studio的快捷键设置与eclipse一致,使用习惯的快捷键才顺手.Mac系统下:进入 ...

  4. eclipse加上电脑全黑主题的设置(win10)

    eclipse加上电脑全黑主题的设置(win10) 前几天在找设置win10的边框颜色时,发现的这个高对比的功能,现在已经用了好几天了,自己感觉是真的好用,所有才分享出来,相比所谓网上的豆沙绿,果然感 ...

  5. Bootstrap css背景图片的设置

    一. 网页中添加图片的方式有两种 一种是:通过<img>标签直接插入到html中 另一种是:通过css背景属性添加 居中方法:水平居中的text-align:center 和 margin ...

  6. Android studio教程:[3]修改背景主题

    android studio开发环境的背景主题是可以更改的,现在都流行黑色背景,这样让软件显得更高端大气的,更加赏心悦目,但最主要的还是看起来更舒适更顺眼.下面就教大家如何更改背景主题. 工具/原料 ...

  7. Python爬虫之提取Bing搜索的背景图片并设置为Windows的电脑桌面

      鉴于现阶段国内的搜索引擎还用不上Google, 笔者会寻求Bing搜索来代替.在使用Bing的过程中,笔者发现Bing的背景图片真乃良心之作,十分赏心悦目,因此,笔者的脑海中萌生了一个念头:能否自 ...

  8. Ubuntu 18.04 Numix主题安装设置

    Ubuntu 18.04 Numix主题安装设置 一.首先安装Numix主题 展现效果如下图 1.安装numix sudo add-apt-repository ppa:numix/ppa 2.安装主 ...

  9. 第三百九十七节,Django+Xadmin打造上线标准的在线教育平台—其他插件使用说,主题本地化设置

    第三百九十七节,Django+Xadmin打造上线标准的在线教育平台—其他插件使用说,主题本地化设置 主题设置是在xadmin\plugins\themes.py这个文件 默认xadmin是通过下面这 ...

随机推荐

  1. 最大子序列和(O(n))

    下面介绍一个线性的算法,这个算法是许多聪明算法的典型:运行时间是明显的,但是正确性则很不明显(不容易理解). //线性的算法O(N) long maxSubSum4(const vector<i ...

  2. Altera SoC 内核更新3.7到3.10

    为什么需要更新呢?其实是为了更好的搭建自己的开发环境,同时熟悉altera对代码的更新和管理方式,便于进一步的熟悉和了解altera SoC开发过程.   1.下载linux代码: git clone ...

  3. ASP.Net软件工程师基础(四)

    1.接口 (1)接口是一种规范.协议,定义了一组具有各种功能的方法(属性.索引器本质是方法). (2)接口存在的意义:多态.多态的意义:程序可扩展性. (3)接口解决了类的多继承的问题. (4)接口解 ...

  4. unique踢出相同元素

    unique函数的功能是:去除相邻的重复元素(只保留一个). 函数参数:unique(first,last,compare); //first为容器的首迭代器,last为容器的末迭代器,compare ...

  5. (二). 细说Kalman滤波:The Kalman Filter

    本文为原创文章,转载请注明出处,http://www.cnblogs.com/ycwang16/p/5999034.html 前面介绍了Bayes滤波方法,我们接下来详细说说Kalman滤波器.虽然K ...

  6. 【PL/SQL练习】基本的PL/SQL语句

    1.无变量匿名快 begin dbms_output.put_line('Hello World'); end; 2.有变量的匿名块,定义变量: declare v_ename ); v_sal ,) ...

  7. MSP430F149学习之路——捕获/比较模式

    1.捕获模式 #include <msp430x14x.h> unsigned ,last1=; unsigned ,j=; void mian(void) { WDTCTL = WDTP ...

  8. Java程序员面试宝典——重要习题整理

    1.下面程序的输出结果是() public class Test { public static void main(String[] args) { int j = 0 ; for(int i = ...

  9. linux下的tomcat自动退出的问题

    1,环境:mysql+tomcat+linux 2,发现问题:连接池断开连接 No operations allowed after connection closed 连接池断开了,再进行连接就报错 ...

  10. Leetcode001 two sum

    /* c++ STL is much nore than what i think before in these aspects: * initializer for node element in ...