Where can I find the source code of a library file?. I am new to C++ , and I am very much eager to see the implementation file for a library file?
#include<iostream>
#include<list>
#include<iterator>
using namespace std;
int main(void)
{
list <int> a;
list<int> :: iterator it;
a.push_back(2);
a.push_front(1);
a.push_back(3);
for(it=a.begin();it!=a.end();it++)
{
cout<<*it;
}
//prints 123
return 0;
}
In this code, I want to know the implementation of push_back()
and push_front()
. Where can I find it?
`.
– Remy Lebeau Dec 03 '20 at 18:40