mardi 1 août 2017

Error while working with forward_list in C++

Please see this image. It contain both code and error. I am unable to post my error code here. Plese check once.

#include<iostream> 
#include<forward_list> 

using namespace std; 

int main() { 

    forward_list<int> flist1; 
    flist1.assign({1, 2, 3}); 
    return 0; 

} 

Aucun commentaire:

Enregistrer un commentaire