Im looking for some tool that can re-format a C source code
1- Re-indenting
2- re-organize brackets :
Example 1
for (i=0;i
c=i; }
will become
for (i=0;i
{
a=i;
c=i;
}
Example 2
for (i=0;i
a=i;
will become
for (i=0;i
{
a=i;
}
Do you know such tool ?
Can vedit do that ?
Thank for any help