In visual Studio, slowly converting my project to C++ using the TGC's official youtube tutorial.
I've come across something they didn't quite cover. The tutorial shows how to create an array in C++ but some of my code uses array resizing. I feel like the array resizing is not an AppGameKit feature but a core C++ function, which is where just adding an
agk:: prefix wouldn't really work.
I googled the help for C++ array resizing and came up with this:
https://msdn.microsoft.com/en-us/library/bb348051(v=vs.110).aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-1
Array::Resize(myArr, myArr->Length + 5);
Only issue is that Visual Studio doesn't seem to recognize the "Array::" part like it does "agk::"
Eisenstadt Studio: Eisenstadtstudio.com
Composers Page: Milesthatch.net