Here is a plug in for the Visual Studio that allows to set the end of line: http://www.codeguru.com/Cpp/V-S/devstudio_macros/textoperations/article.php/c3161/