100*1000 is 100,000 elements, 6 such arrays make 600,000 elements 4 bytes each, that's 2,400,000 bytes or over 2 MB. That's bigger than default stack size, that's why you get crash. Use new operator for those arrays and it'll work just fine.
Zaoshi KabaMember Since 04 Nov 2012
Online Last Active Today, 03:06 AM