Hi all,

i am using Microsoft Visual C++ 2010 Express

i am sure, a super easy question. i am just learning C++...and i am already stuck with this error...here the simple program

Code:
#include <iostream>
using namespace std;
int main() 
{
    int ai {5}; // Error : Missing ';' before {
    cout << ai;
    return 0;
}
i admit i never used such initialisation and never heard of it so far, i used to write
Code:
int ai = 5
why is the compiler complaining.