Re: [Dev-C++] How to auto-format text
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ray K. <kul...@wr...> - 2004-12-18 12:05:22
|
There's a GNU utility called indent. I haven't tried it, but it should do what you need. There's a Win32 port at http://unxutils.sourceforge.net/ Haim Bishop wrote: > Hello. > I'm using Dev-C++ 4.9.9.0 > How can I autoformat the text > insted of > > for(g=0;g<n1;g++){ > if(C[g]>max){ > max=C[g]; > x=g; > printf("max=%d ",max); > printf("x=%d ",x); > printf("\n"); > > I would like to see somethihg > like this > > for(g=0;g<n1;g++){ > if(C[g]>max){ > max=C[g]; > x=g; > printf("max=%d ",max); > printf("x=%d ",x); > printf("\n"); |