I create a simple program
void method_2(int* arr, int* first, int * last){
// algorithm
}
void method_1(int arr[]){
method_2(arr, std::begin(arr), std::end(arr)); // No matching function for call begin()
}
Guys Why I'm getting "No matching function for call begin()" compiling error ? How can i solve this problem.
Aucun commentaire:
Enregistrer un commentaire