#include "doit.h"
int main()
{
    int intarray[] = { 1, 2, 3, 4, 0 };
    float floatarray[] = { 1.2, 2.3, 3.4, 0.0 };
    doit(intarray);
    doit(floatarray);
    return 0;
}

Example 3: A program that uses the doit template

Back to Article