Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) r
- Starting program: ~/test/a.out
- Program received signal SIGSEGV, Segmentation fault.
- main () at main.cpp:7
- 7 v[999999] = 0;
- (gdb) p v
- $1 = std::vector of length 1, capacity 1 = {1000000}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement