I am trying to create a 2d array in my program that can hold CStrings. I need to be able to add my CString to any row and column in the array(not just at the end) and I need it to be able to grow in size. Does anyone know how I could do this?
kinger29 0 Light Poster
Recommended Answers
Jump to PostYou can declare an array of type T using static memory like so:
T myArray[constInt];
where constInt resolves to an int that is declared const, meaning its value must be known at compile time and cannot be changed at run time. If you don't know what value you …
All 4 Replies
ff4930 24 Junior Poster in Training
kinger29 0 Light Poster
CoolGamer48 65 Posting Pro in Training
Lerner 582 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.