An empty line between 2 statements

Hi guys,
when i open a project in Visual Studio(2012, ultimate) i see an empty line between each and every 2 statements. Do you know how to fix it?

Cheers
1
2
3
4
5
6
7
8
9
10
11
12
//example: 
if(temp=='s'){

		cout<<"What is the show name?"<<endl;

		cin >>name; cout<<endl;

		show temp2(name,cost,day,m,y); //creating a show

		this->show_list.push_front(temp2);

	}
How did you create the file?
It seems like you have inconsistent line endings.

Try going into Tools->Options->Documents.
The option to check for consistent line endings should be checked.

If it's checked, try inserting a line, save the file, then close and reopen it.
This should cause VS to enforce consistent line endings.
Topic archived. No new replies allowed.