confused with function int main ( int argc, char* argv[ ]) to read files and store in std::vector : i have to write a function where it receives 2 files as the command line argument (file1 file2) which the program reads in these files should be stored in two std:vector container

file 1 has 4 int values in each line representing a rectangles bottom point then top point eg 73 4 113 46 so x y x y i have to write a class for representing the rectangle which makes each rectangle an object of that class

file2 just contains list of areas 1 per line in int value.
i have to use c++11 to write this function in
can you please an example show how to implement this in
int main(int argc, char *argv[ ] )

iam a total noob to this...