Question about streamer
#9

Create a 1D dynamic array first and then allocate for each member a new 1D dynamic array in a loop, so you have an array in an array. Remember to free the allocated memory right, like they did in the example.

http://www.cplusplus.com/forum/articles/7459/
"Pointer based multi-dimensional arrays"

You will find many topics in ****** about this because this is a very common question.
Reply


Messages In This Thread
Question about streamer - by RyDeR` - 28.07.2010, 16:19
Re: Question about streamer - by Balon - 28.07.2010, 17:06
Re: Question about streamer - by RyDeR` - 28.07.2010, 17:26
Re: Question about streamer - by Remis - 29.07.2010, 12:17
Re: Question about streamer - by RyDeR` - 30.07.2010, 17:25
Re : Question about streamer - by scott1 - 30.07.2010, 19:14
Re: Question about streamer - by Kar - 30.07.2010, 20:15
Re: Question about streamer - by RyDeR` - 30.07.2010, 21:08
Re: Question about streamer - by Remis - 30.07.2010, 21:46
Re: Question about streamer - by kc - 30.07.2010, 22:16
Re: Question about streamer - by Romanius - 31.07.2010, 05:48

Forum Jump:


Users browsing this thread: 3 Guest(s)