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..?
Printable View
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..?
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.
Indent there it was... :D
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 ?