Hi all,
I need to initialize an array iteratively. For example array my_arryay needs to initialized with 512 characters and next with 1024 characters and next with 2048 characters etc etc, which can only be iteratively.
Something as in C:
for( i = 0; i<100:i++)
{
my_array = 'a';
}
Finally i will need to use the my_array as a buffer. For example the way buffer is provided as an argument in a TCP send operation:
send(socket,buffer,no_of-bytes)
Could any one please tell me how to do this?
Thanks,
Prashanth