Hi..
EDIT...DAMN... It tricked me.. :S
Weel I want to format a file regardingso it is possible to se the code easier.. I know there exist a linux-command to do this (format a C-file), but cannot remember it..Code:"{" and "}"
Anyone..?
This is a discussion on format code in file within the Linux Programming forums, part of the Platform Specific Boards category; Hi.. EDIT...DAMN... It tricked me.. :S Weel I want to format a file regarding Code: "{" and "}" so it ...
Hi..
EDIT...DAMN... It tricked me.. :S
Weel I want to format a file regardingso it is possible to se the code easier.. I know there exist a linux-command to do this (format a C-file), but cannot remember it..Code:"{" and "}"
Anyone..?
Last edited by sniper83; 07-20-2007 at 11:30 AM.
A quick search of the Web gives Artistic Style and Indent - C source beautifier. Next time, you might want to search the Web before you ask.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
Indent there it was...![]()
Damn.. A crap function.. It looks like hell now.. I'm glad i made a backup before running it.. :S Cannot recommend this method for anyony..![]()
Now I sure love the method.. Thanks big time kicking my ass for that comment about crap... Surely a super nice method..![]()
Does it reformat code into K&R style ?
Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.