8. Use Native IDEs When Appropriate
为了保证code显示一直, 有2个需要注意设置的地方:
1是tab的使用, 建议全部转成space.
2是行结束符, "\r"(mac), "\n"(*nix)还是 "\r\n"(win32).
vs2005中, 对应的:
1. tab的设置: tools --> options --> text editor --> c/c++ --> tabs, 选中insert space.
2. line endings的设置: 似乎比较诡异, file --> advanced save options, 可以选encoding和line endings.



