Site Tools


c_count
int arr[8] = {42, 31, 53, 31, 346, 31, 31, 1};

int main(int argc, char** argv){
    int n;
    n = count(arr, arr+8, 31);
    cout << n << " find" << endl;
}
// вывод
4 find
You could leave a comment if you were logged in.
c_count.txt · Last modified: 2013/02/26 20:15 by konovalov

Page Tools