COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
Loading...
Searching...
No Matches
main2_1.cpp
Go to the documentation of this file.
1#include <iostream>
2#include "bounding.h"
3using namespace std;
4
5int main() {
6
7 int x1 = 1;
8 int y1 = 1;
9 int w1 = 10;
10 int h1 = 10;
11
12 int x2 = 5;
13 int y2 = 5;
14 int w2 = 10;
15 int h2 = 10;
16
17 mergeBoundingBoxes(x1, y1, w1, h1, x2, y2, w2, h2);
18
19 cout << x1 << " " << y1 << " " << w1 << " " << h1 << endl;
20
21}
bool mergeBoundingBoxes(int &x1, int &y1, int &w1, int &h1, int x2, int y2, int w2, int h2)
Definition 2.cpp:9
int main()
Definition main2_1.cpp:5