I'm new to c++, and my program seems to stop working whenever I make a fill call.
void go()
{
    int ints[5];
    cout<<"here";
    fill(ints,ints+sizeof(ints),0);
    cout<<"here2";
}
The odd thing is, it prints both here1 and here2, and then fails. And if i comment out the fill call, the error no longer occurs. I'm sure it's just something that I'm not doing correctly because I'm new, but any help would be greatly appreciated.
 
    