问题描述
- 关于dev cpp的使用方法
-
问题1:dev cpp怎么将代码对齐呢
问题2:河南省每年的acm竞赛可以用什么编译器呢?
解决方案
(1)最简单的,选中代码,按下多次ctrl+tab,先全部放入左边,然后选中需要缩进的代码,按tab。
(2)常见的编译器都可以。推荐VC++ 6.0或者Dev C++或者Codeblocks。
解决方案二:
可以通过插件来进行代码格式化
Download this.
http://www.formatcode.com/download.php
Format Source Code within Dev-C++
The following instructions allow you to format source code files in Dev-C++ using FormatCode command line tool.
Add a Tool Menu that will invoke FormatCode
Click "Tools" -> "Configure Tools...".
Click the "Add" button to add a new tool.
Assuming you installed FormatCode in C:Program FilesFormatCode, fill in the form as show below:
Title: FormatCode Program: C:Program FilesFormatCodeFormatCode.exe Working Directory: C:Program FilesFormatCode Parameters: "SOURCENAME"
Click "OK" button to save settings.
You may now invoke FormatCode command line tool:
By clicking "Tools" -> "FormatCode".("AnyStyler)