Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
javascript style arrays in c++Error(s): source_file.cpp: In member function ‘T SYArray<T>::reduce(std::function<T(T, int)>)’: source_file.cpp:280:13: error: ‘total’ was not declared in this scope total=f(total,arr[i]); ^ source_file.cpp:283:16: error: ‘total’ was not declared in this scope return total; ^ |
λ
.NET NoSQL database for rapid development
|