|
-
November 27th, 2022, 03:11 PM
#12
Re: use of algorithms in function cause ERROR: no instance of overloaded function
Close!
I need to be able to manipulate the contents of the 2D array within the function.
that is the purpose of the function. sry, I should have mentioned that sooner.
as far I I know, this style of for loop only allows iteration
for (const auto& e : arr_elements)
for (const auto& v : e)
std::cout << v << ' ';
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|