added opencv
This commit is contained in:
parent
9636823fb9
commit
76532efb1f
|
|
@ -2,6 +2,6 @@
|
|||
#include "arithmetic.h"
|
||||
int add(int a, int b)
|
||||
{
|
||||
int c = a + b;
|
||||
return c;
|
||||
int c = a + b;
|
||||
return c;
|
||||
}
|
||||
|
|
|
|||
8
main.cpp
8
main.cpp
|
|
@ -1,8 +1,10 @@
|
|||
#include <iostream>
|
||||
#include "arithmetic.h"
|
||||
#include "opencv2/opencv.hpp"
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello world!" << std::endl;
|
||||
std::cout << "c= " << add(1,2) << std::endl;
|
||||
return 0;
|
||||
std::cout << "Hello world!" << std::endl;
|
||||
std::cout << "c= " << add(1,2) << std::endl;
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue