



M4GG1U771 wrote:I'm thinking about writing a really simple C program that can reformat code as follows.
1) prompt user for file that needs to be reformatted
2) Program opens file, adds line breaks after every semi-colon, and then adds an additional tab (or 4 spaces, or 3, or maybe it can be a parameter set by the user) for every thinking nested within { }.

centip3de wrote:
What does this have to do with bandwidth?

edone automaton wrote:I think he is referring to OPs problem with reading the source code due to it being set out in a manner non consistent with best programming practices, so he is proposing something to make it look nice and easier to read again

centip3de wrote:edone automaton wrote:I think he is referring to OPs problem with reading the source code due to it being set out in a manner non consistent with best programming practices, so he is proposing something to make it look nice and easier to read again
Ah, gotcha. Makes much more sense. Though, his method will only work for C like languages.

For bandwidth reasons? Please explain...


Users browsing this forum: No registered users and 0 guests