From e18818f635d78ddbd3f490dbbd2e79e2cd0854d5 Mon Sep 17 00:00:00 2001 From: Vaibhav Avdhut <107400358+VaibhavAvdhut@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:54:30 +0530 Subject: [PATCH] Update stl_main.cpp Added math header file for smooth execution --- STL/stl_main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/STL/stl_main.cpp b/STL/stl_main.cpp index 6aea9d0..7c90df2 100644 --- a/STL/stl_main.cpp +++ b/STL/stl_main.cpp @@ -1,9 +1,10 @@ -// STL.cpp : 定义控制台应用程序的入口点。 +// STL.cpp : 瀹氫箟鎺у埗鍙板簲鐢ㄧ▼搴忕殑鍏ュ彛鐐广 // #include "stdafx.h" #include #include +#include #include"stl_demo.h" using namespace std; @@ -27,7 +28,7 @@ int main() } } - //初始化,插入,修改 + //鍒濆鍖栵紝鎻掑叆锛屼慨鏀 const int arrvec[4] = { 3,2,2,2 }; int arrvec2[4]; std::vector vec(3, 1);//1,1,1