• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

Need Code Formatter for C++/C

Hi All,
Hi,

Does anyone remember using a code formatter for C/C++ that would draw/link all your if statements, and brackets? I can't remember if it was part of Visual studio 3-6, or was it a separate application.

I remember using one, back in the 90s.

Thanks.

Matt
0
mlong219
Asked:
mlong219
1 Solution
 
evilrixSenior Software Engineer (Avast)Commented:
Visual Studio will do that for you.

CTRL-A to select all
CTRL-K followed by CTRL-F to format the selected code.

http://msdn.microsoft.com/en-us/library/999b219z.aspx

As far as I know this works on all versions of Visual Studio and in all languages (including standard C++)
0
 
bssuranaCommented:
AS mentioned above you can use that option. Else you can user visual assist from tomato. this tool is preety good.
0
 
mlong219Author Commented:
I'm aware of these features in Visual Studio. There was another tool/option I used back in the 90's that would DRAW a branch showing how, if statements were matched up. Similar to the following embed image. Format Code
0
 
kurojiCommented:
While not as pretty as you describe in your diagram
have a look at GNU Cflow
A very similar question was asked on stack overflow
0
 
evilrixSenior Software Engineer (Avast)Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now