AStyle在配置VC中的配置方法

Astyle(格式调整) 包含源代码,需要的可以自行下载。 把astyle.exe 复制到 C:\WINDOWS 目录里,省的指定路径 VC6++ 设置方法 菜单->工具->定制->工具菜单内容->新建菜单,参数如下 命令行:astyle.exe 变量: --style=k&r --brackets=break --indent=spaces --indent-cases --indent-preprocessor --pad-header --pad-oper --unpad-paren --keep-one-line-statements --keep-one-line-blocks --convert-tabs $(FileName)$(FileExt) 初始目录: $(FileDir) VC2008 外部工具里设置,还可以添加快捷键 命令:astyle.exe 参数: --style=k&r --brackets=break --indent=spaces --indent-cases --indent-preprocessor --pad-header --pad-oper --unpad-paren --keep-one-line-statements --keep-one-line-blocks --convert-tabs $(ItemFileName)$(ItemExt) 初始目录: $(ItemDir) CodeBlocks 设置差不多,很多绿色版的已经设置好了 AStyle_2.02_windows.zip bin 目录里有官方编译好的 Artistic Style 2.01 Maintained by: Jim Pattee Original Author: Tal Davidson Usage : astyle [options] Source1.cpp Source2.cpp [...] astyle [options] Beautified When indenting a specific file, the resulting indented file RETAINS the original file-name. The original pre-indented file is renamed, with a suffix of ".orig" added to the original filename. Wildcards (* and ?) may be used in the filename. A 'recursive' option can process directories recursively. By default, astyle is set up to indent C/C++/C#/Java files, with four spaces per indent, a maximal indentation of 40 spaces inside continuous statements, a minimum indentation of eight spaces inside conditional statements, and NO formatting options. 立即下载


Artistic Style工具的使用说明

astyle工具用于实现c/c++等语言的代码缩进排版,与vc6的集成配置及参数情况如下:

一、格式化当前文件的设置

附录:

l AStyle: Current File

l -A1 -T4 -w -Y -m0 -M40 -f -p -H -U -k3 -W3 "$(FilePath)"

l $(FileDir)

二、格式化整个工程中的文件代码的设置

附录:

l AStyle: Files in Current Project

l -A1 -T4 -w -Y -m0 -M40 -f -p -H -U -k3 -W3 -r  *.h *.cpp

l $(TargetDir)\..

三、在vc中格式化代码

点击vc++6.0的Tool菜单,将弹出已经集成进的astyle工具命令,点击命令项即可对当前代码文件(或当前工程文件夹及其子文件夹里的全部代码文件)进行格式化,如下图:

四、参数含义

各配置参数的含义,供大家讨论。更详细完整的说明可参见asytle工具的命令行帮助信息,或其自带的doc文档。

-------------------------------------------------------

-A1:决定括号位置及缩进的大体风格为ANSI风格,如下:

int Foo(bool isBar)

{

    if (isBar)

    {

        bar();

        return 1;

    }

    else

        return 0;

}

-T4:强制将tab键转为4个空格

-w:控制宏定义的缩进,如下:

#define Is_Bar(arg,a,b) \

(Is_Foo((arg), (a)) \

|| Is_Foo((arg), (b)))

将变成:

#define Is_Bar(arg,a,b) \

    (Is_Foo((arg), (a)) \

     || Is_Foo((arg), (b)))

-Y:将从第一列以“//”开头的注释移到和其下一行左对齐,如下:

void Foo()\n" 

{

// comment

    if (isFoo)

        bar();

}

将变成:

void Foo()\n" 

{

    // comment

    if (isFoo)

        bar();

}

 

-m0:将if括号中的换行后内容与括号中第一个内容左对齐

// but creates an exaggerated indent in this bracketed code

if (a < b

        || c > d)

{

    foo++;

}

将变成:

if (a < b

    || c > d)

{

    foo++;

}

-M40:将函数参数或数组赋值的换行内容左对齐,并且不超过第40列,以免缩进距离过大。如

fooFunction(barArg1,

         barArg2,

         barArg3);

将变成:

fooFunction(barArg1,

            barArg2,

            barArg3);

-f:if、while等块上下加空行

-p:操作符左右加空格

-H:if和其后的括号间加空格

-U:去掉括号里的空格,如

if ( isFoo( a, b ) )

    bar ( a, b );

将变成:

if(isFoo(a, b))

    bar(a, b);

-k3:指针的*符号与类型间加空格,并与变量名间无空格

-W3:引用的&符号与类型间加空格,并与变量名间无空格



在VS2010的配置如下:

格式化工程中的所有文件

标题:AStylePrj

命令:F:\CodeTools\AStyle\bin\AStyle.exe

参数:-A1 -s4 -C -S -K -w -Y -m0 -M40 -f -F -p -H -U -j -k1 -W1 -r  *.h *.cpp

初始目录:$(ProjectDir)

并勾选“使用输出窗口”


格式化单个文件

标题:AStyleFile

命令:F:\CodeTools\AStyle\bin\AStyle.exe

参数:-A1 -s4 -C -S -K -w -Y -m0 -M40 -f -F -p -H -U -j -k1 -W1 $(ItemFileName)$(ItemExt)

初始目录:$(ItemDir)

并勾选“使用输出窗口”



从零部署奥比中光Gemini335L:Python SDK编译与手眼标定环境实战 本文提供了一份从零部署奥比中光Gemini 335L深度相机的完整实战指南。详细介绍了驱动安装、Python SDK编译、CMake配置及虚拟环境搭建等关键步骤,并重点解析了如何通过编译生成Python模块,最终实现深度图与点云数据获取,为后续的机械臂手眼标定工作奠定坚实基础。 阅读详情

相关推荐

别再被SpringerLink虐了!手把手教你搞定LaTeX源文件提交(附正确文件顺序和类型选择)

本文详细解析了SpringerLink投稿系统中LaTeX源文件提交的常见问题与解决方案,包括文件打包、类型选择和顺序排列等关键步骤。通过实战经验,帮助科研人员避开隐形陷阱,一次性完成LaTeX提交,提升投稿效率。特别针对`.bst`和`.cls`文件的正确处理提供了专业指导。

weixin_42522964的博客 445

如何在source insight中使用astyle的代码整理功能?

<br /> <br />用source insight 编辑代码时,苦于source insight没有集成的代码格式化工具, GNU的astyle是一个免费的代码格式化工具,能够整理符合c/c++规范。  <br />我们可以将astyle.exe外挂到SourceInsight中。详细步骤如下:<br /> <br />1:从http://astyle.sourceforge.net上下载AStyle_2.01_windows.zip (开放源码,可以仔细阅读);<br />2:解压缩后将bin文件夹

学习中成长,成长中学习 1万+

Java对接快递鸟,查询快递物流信息

根据用户输入的订单号,我们的后台识别订单号并根据快递鸟查询快递API接口,实现自动查询的功能。下面是java版本的根据单号查询物流跟踪信息的详细示例代码。只需要下载就可以运行,(自己需要简单的修改)注:登录快递鸟用户管理后台后获得。登录快递鸟用户管理后台。

Roc的博客 960

编程排版风格与AStyle工具的使用

/,注释应与其描述的代码相近,对代码的注释应放在其上方或右方相邻位置,不要放在下面,如过放于上方,则需与其上面的代码用空行隔开,且与所描述的内容具有同样的缩进。另外如果是函数的参数比较长,也应该进行换行划分。先说一下缩进,因为不同的编辑器,tab缩进还不一定一样,有些是8个空格,有些是4个空格,编写的时候可以用tab,也可以用空格键。就类似于写文章一样,一个好的非常好编程代码排版可以让代码看起来更加漂亮,而且还可以提升代码的可读性,便于对代码的理解,特别是老的项目,好的排版以后自己看了更容易维护和纠错。

ic2121的博客 445

【OpenSearch】从零到一:手把手搭建OpenSearch与Dashboard可视化平台

本文提供了一份详细的OpenSearch与Dashboard可视化平台从零搭建指南。内容涵盖环境准备、系统调优、核心服务安装配置、Dashboard部署与汉化,以及生产环境安全加固建议,帮助用户快速构建一个功能完整的搜索与分析平台。

devops8pract的博客 617

光致发光(Photoluminescence, PL)入门版

关于光致发光的实际应用做出一些解释。

sinat_40546227的博客 1万+

VS开发C++代码格式化设置(AStyle)

一.下载Astyle插件下载地址: https://marketplace.visualstudio.com/items?itemName=Lukamicoder.AStyleExtension二.安装AStyle1.打开AStyleExtension.vsix 2.选择相应的VS版本 3.重启VS,然后打开 工具 -> 选项 , 如果有 “AStyle Formatter” 选

懒得停下脚步 1万+

基于labview实现MYSQL数据库查询功能

基于labview实现MYSQL数据库查询功能 前言: labview是一款功能强大的图形化编程软件,也就是俗称的G语言。 本篇将介绍如何利用labview对MYSQL进行列表分页,范围查询及模糊查询等几个可广泛应用的简易功能,但事实上labview并不擅长处理数据库,下面详细代码可体现。 数据库的环境配置方面的问题这里就不赘述了。 我们直接进入主题。 1.以下为查询界面 2.分页实现细节: ...

qq470783138的博客 7558

自动调整代码格式——astyle详解

最近在研究代码格式的相关问题,之前在Linux平台有用过astyle命令,简单的运用。现在需要更加详细的应用,所以详细地学习一下。

悠扬侠的博客 7444

Unity之ASE+ShaderGraph+VFX入门到精通 目录

这里是ASE+ShaderGraph+VFX从入门到精通专栏的目录,不停更新中,有问题随时留言或者私信。

TxNet 2841

DC/DC开关电源学习笔记(十三)Buck-Boost升降压电路工作原理

Buck-Boost电路是一种能够实现输出电压高于或低于输入电压的DC-DC变换器,且输出电压极性与输入电压相反。它结合了Buck(降压)和Boost(升压)两种拓扑的特点,广泛应用于需要灵活电压调整的场合,如电池供电设备、LED驱动和工业控制系统。本文将从电路结构、工作原理、关键公式推导及实际应用等方面进行详细分析。

小幽余生不加糖 3505

【AStyle】参数配置

AStyle是一个开源的源码格式化工具软件,命令行版的,支持 C/C++、C# 和 Java 语言。下面是一些本人使用过的参数,可以作为参考。 英文版使用说明参考以下链接:http://astyle.sourceforge.net/astyle.html。 1、关键字后插入空格(关键字类似if、for、while等等)。 --pad-header / -H if(isFoo((a...

sunriver2000的专栏 4704

PyTorch 面试题及详细答案120题(54-70)-- 模型训练与评估

本文介绍了PyTorch模型训练的基本流程和核心概念。主要内容包括: 模型训练基本流程:通过代码示例展示了数据准备、模型定义、损失函数和优化器选择、训练循环(前向传播、反向传播、参数更新)的完整过程,并包含验证集评估的实现。 训练过程中的关键概念: Epoch:完整遍历一次训练集 Batch:将数据分成小批次 Iteration:一个Batch的参数更新过程 三者关系:1 Epoch = N/B Batch = N/B Iteration(N为样本数,B为batch_size) PyTorch数据加载机制:

大剑师兰特的GIS世界 489

转:轻松实现Visual C++源代码规范整理

 [文章信息] http://www.yesky.com/SoftChannel/72342371928702976/20050228/1915727.shtml 作者: 张玉珊 时间: 2005-02-28 出处: 天极网 责任编辑: 方舟 [文章导读]  本文介绍一个名为astyle的开源代码整理工具以及在VC开发环境中集成配置的方法 [正文]        如果你是一名VC程序员,你是否被一

糯米糊糊的专栏 3213

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

轻松实现Visual C++源代码规范整理

轻松实现Visual C++源代码规范整理   [文章信息]作者:张玉珊时间:2005-02-28出处:天极网责任编辑:方舟  如果你是一名VC程序员,你是否被一个问题所困扰?项目小组有编程规范要求严格执行,但是项目进度紧张,每天都有大量的

ding_net的专栏 754

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

Astyle在visual c++ 6 中的安装和使用方法

astyle是一个常用的开放源码代码格式化工具。它可以方便的将c,c++,java程序代码格式化成自己想要的样式而不必人工修改。Astyle下载地址:http://astyle.sourceforge.net/download.html下载后解压,可以在astyle_1.23_windows/astyle/bin目标中得到AStyle.exe文件,记下地址。打开vi

enotswn的专栏 2387

介绍一个VC中代码缩进的工具

原文作者/张玉珊   如果你是一名VC程序员,你是否被一个问题所困扰?项目小组有编程规范要求严格执行,但是项目进度紧张,每天都有大量的代码需要完成。很难做到既能保证开发进度,又能编写出良好风格、缩进规范的代码。如果采用其他工具对源文件进行代码整理,又需在VC之外重新打开源代码,整理结果不能直接在VC中查看编译。能不能在VC中集成一种工具,轻松点击VC按钮即可整理源码呢?回答是有

greytree的专栏 3700

知识点:使用VS Code编辑C++程序的配置(包括Astyle详细安装、配置教程)

维护10年的程序是基于VC6.0平台的,但是VC6.0的编辑环境实在是让人发疯,最近选择了VS Code作为C++程序编辑器(不是编译器,而IDE是集成编辑器)。将用到的插件和常用的使用技巧列于下方,方便日后的查询 1、插件 商店中的插件 功能说明 C/C++ 是编辑C/C++程序的必须,因为VSCode并没有默认支持C/C++     ...

dashumak的博客 5161

VC6.0开发环境配置

http://blog.youkuaiyun.com/sae001/article/details/6883906 VC6.0 自带的开发环境对开发人员要求较高,不能自动列出开发时可能需要的函数,变量等,目前有一些第三方的比较好的辅助软件可以实现这些功能,大大减少了开发软件的工作量,今天我们安装一个叫做VC Assistant的软件,它可以嵌入VC的开发环境中,对我们在编程时有一些很好的辅助作用,另一个软件

huang的专栏 4209

Smart formating source code using astyle in Scite

用 vc6 很喜欢 alt+F8 的功能. 能够格式化代码. scite 没有这个功能. 今天看它的配置文件发现这么两行:command.name.0.*.cxx=Indentcommand.0.*.cxx=astyle -tapO $(FileNameExt)用来缩进的? 查了一下 astyle, 原来就是这个功能. 下载了 astyle 1.19, 修改了一下配置文件 cpp.prop

Nick 开发日志 1506

在Visual Studio中使用AStyle

最近在做一个C++项目,我们使用了一个叫做AStyle的插件来做代码格式化。 下载方式1:通过Visual Studio下载 启动Visual Studio,以下简称VS; 英文版VS:VS主菜单 > Tools > Extension Manager…; 中文版VS:VS主菜单 > 工具 > 扩展和更新…; 左边选择Online Gallery(联机),输入关...

weixin_30740295的博客 749

在scite编辑器中使用astyle格式化c代码

用 vc6 很喜欢 alt+F8 的功能. 能够格式化代码. scite 没有这个功能. 今天看它的配置文件发现这么两行: command.name.0.*.cxx=Indent command.0.*.cxx=astyle -tapO $(FileNameExt) 用来缩进的? 查了一下 astyle, 原来就是这个功能. 下载了 astyle 1.19, 修改了一下配置文件 cpp.pro...

liming0931的专栏 706

VC项目配置基础

本文系统梳理了Visual Studio IDE日常配置和使用知技。

曾梦想仗剑走天涯 2万+

editplus vc

gcc gc D:\sys\Toolkit\gcc4.4.0Bboost1.45.0\mingw\bin\gcc.exe-Wall -c $(FileName)$(FileDir)gl"D:\sys\Toolkit\gcc4.4.0Bboost1.45.0\mingw\bin\gcc.exe"$(FileNameNoExt).o -lstdc++ -lboost_system -lwsoc...

javasogo 85

[小技巧]集成Astyle到Microsoft Visual Studio

Astyle是非常好用的开源的C++代码整理工具,能使你凌乱的代码变得有序。下载地址http://astyle.sourceforge.net/ 该工具可以作为VC的插件,具体怎么设置,见截图,参数如下。 --style=ansi --one-line=keep-statements  $(ItemFileName)$(ItemExt)  然后修改设置,让整理后的文件自动加载    ...

张沈鹏,在路上 ... 273
上一篇: 邮件发送
下一篇: 分页打印
htt9931
博客等级 码龄24年 43粉丝 14原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值