Vector Max size

Правка en2, от Mohsina_Shaikh, 2022-08-21 12:06:11

Can anyone please explain why my program crashes without mentioning any error If I try to create vector of size 10^9 in c++.Anyway If I decrease the size of vector let's suppose to something like 10^7 and 10^6 it works fine

Теги vector, c++, general doubt

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Mohsina_Shaikh 2022-08-21 12:06:11 102
en1 Английский Mohsina_Shaikh 2022-08-21 12:00:44 140 Initial revision (published)