When using the horizontal tab - "\t" - what determines number of spaces? - its not defined by ASCII is it?
If your program relies on the lenght of a string using "\t", is it not good to use "\t" b/c it varies from machine to machine?
Also, in a separate but related question, when using Visual C++, you can control how many spaces the "Tab" and "Indent" are. Is it good to use the Tab key to represent a number of spaces in a string literal? From what I can tell from Microsoft Help, the space inserted by the tab key is either converted to a number of spaces or converted to a tab character depending on the setting : Tools | Options | Tabs and you can either select "Insert Spaces" or "Keep Tabs"? Is that how this works?



LinkBack URL
About LinkBacks


