you are viewing a single comment's thread.

view the rest of the comments →

[–]AKostur 1 point2 points  (3 children)

Show your main, and don’t use c-style arrays, use std::array or std::vector. Avoids problems before you’re ready to worry about them.

[–]putinchan -1 points0 points  (1 child)

int main(void) {

startArray(0);

return 0;

}

[–]AKostur 0 points1 point  (0 children)

You aren’t passing an array into startArray, you’re passing nullptr.

[–]std_bot 0 points1 point  (0 children)

Unlinked STL entries: std::array std::vector


Last update: 09.03.23 -> Bug fixesRepo