The forum renders text in HTML, which ignores and removes leading whitespace on a line.
To be honset I have no idea what you are asking.
Try inserting leading dots to indicate formatting, like thie:
if()
{
....if()
....{
........// comment
....}
}
If you are asking about code reformatting, Dev-C++ does not do that. VC++2008 Express will do however - that is what I use when I need to make sense of code posted here. (Ctrl+K, Ctrl+F in Visual Studio BTW).
You could use a tool such as GreatCode, but frankly it is a bit of a dog.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any tool for this?
( this: if(){ to become like that if(){
if(){ if(){
} }
} }
)
It makes no sense(didn't seem like that when I wrote it).I think you got it.
The forum renders text in HTML, which ignores and removes leading whitespace on a line.
To be honset I have no idea what you are asking.
Try inserting leading dots to indicate formatting, like thie:
if()
{
....if()
....{
........// comment
....}
}
If you are asking about code reformatting, Dev-C++ does not do that. VC++2008 Express will do however - that is what I use when I need to make sense of code posted here. (Ctrl+K, Ctrl+F in Visual Studio BTW).
You could use a tool such as GreatCode, but frankly it is a bit of a dog.
I think you answered my question.
For the record what I meant was:
this:
if(){
if(){
...
}
}
to become like this:
if(){
....if(){
.........
....}
}
I perfer my bracing style, but yes I answered your question.
Of course, writing it indented in the first place is not so hard!
Clifford