Hi Lerner
Thank you for the declaration, but the problem still with the definition of the dynamic array, because it still when running the code gives blank screen and sending error report everytime.
what you posted is incomplete -- it contains no code to read the csv file! All that program does is allocate the array -- nothing more.
I'm really supprised your program didn't crash on that last loop that calls atoi() because the array contains uninitialized strings that contain random data. atoi() expects a null-terminated ascii string, it searches through memory until it finds either the first non-digit character or null-terminator. But since the strings are uninitialized -- garbage in, garbage out.