O outlawstar4761 In Runtime Messages 186 Nov 14, 2005 #1 Is it possible to make an array in C++ with an undefined number of components? How so? Thanks
C Cx Daemon Poster Messages 602 Nov 19, 2005 #2 Yes, you'd use dynamic memory allocation. http://www.cplusplus.com/doc/tutorial/dynamic.html There's also vectors that'd work. You can google that yourself though.
Yes, you'd use dynamic memory allocation. http://www.cplusplus.com/doc/tutorial/dynamic.html There's also vectors that'd work. You can google that yourself though.