Default Visual Studio 2010 and 2008 font

Visual StudioFonts

Visual Studio Problem Overview


What is the default font (and its size) in the Visual Studio 2010 and 2008 editor?

Visual Studio Solutions


Solution 1 - Visual Studio

In Visual Studio 2008 the default font is Courier New (size 10) but in Visual Studio 2010 the default font is Consolas (size 10).

Solution 2 - Visual Studio

You can see what it's set to in Tools -> Options -> Environment -> Fonts and Colors.

My Visual Studio 2010 is set to Consolas 10 as the default Text Editor setting.

Solution 3 - Visual Studio

The default font also depends on the language version of Visual Studio and the language of the operating system or the system locale. For example English VS 2008 on Japanese Windows defaults to MS Gothic.

Solution 4 - Visual Studio

In VS2012 it can be Segoe UI size 10 also.

Solution 5 - Visual Studio

It's Consolas Size 10 For My Visual Studio!

C++

#include <iostream>
#include "Conio.h"
using namespace std;

void main(){
int num1;
cout << "What's your favourite number:	 ";
cin >> num1;
cout << endl;
cout << "Cool!" << num1 << " is my favourite number too!" << endl;
_getch();

}

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionehpcView Question on Stackoverflow
Solution 1 - Visual StudioDan DiploView Answer on Stackoverflow
Solution 2 - Visual StudioMechamonkeyView Answer on Stackoverflow
Solution 3 - Visual StudioPaul DixonView Answer on Stackoverflow
Solution 4 - Visual StudioJadedView Answer on Stackoverflow
Solution 5 - Visual StudioCodePlusView Answer on Stackoverflow