From d5cc3441c66557e29a8a7c315a8b67849a52c3b6 Mon Sep 17 00:00:00 2001 From: Nishantcoedtu <72176155+Nishantcoedtu@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:11:35 +0530 Subject: [PATCH] Update list_stl.cpp --- Lists/list_stl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Lists/list_stl.cpp b/Lists/list_stl.cpp index 0045f89..74fc3f7 100644 --- a/Lists/list_stl.cpp +++ b/Lists/list_stl.cpp @@ -1,15 +1,15 @@ -#include -#include +#include //header library +#include //header library using namespace std; -int main() { +int main() { // driver function list l; //Init - list l1{1,2,3,10,8,5}; + list l1{1,2,3,10,8,5}; //first object of list data type //Different Datatype - list l2{"apple","guava","mango","banana"}; + list l2{"apple","guava","mango","banana"}; //second object of list data type l2.push_back("pineapple"); //sort