COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
Loading...
Searching...
No Matches
main2_3.cpp File Reference
#include <iostream>
#include "bounding.h"
Include dependency graph for main2_3.cpp:

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( void )

Definition at line 5 of file main2_3.cpp.

5 {
6
7 int x1 = 10;
8 int y1 = -10;
9 int w1 = 10;
10 int h1 = 20;
11
12 int x2 = -10;
13 int y2 = 10;
14 int w2 = 50;
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

References mergeBoundingBoxes().

Here is the call graph for this function: