The rand() function returns an integer (int) value that represents a pseudo-random number between 0 and RAND_MAX, RAND_MAX being a constant declared in the run-time library. Each time rand() is invoked, a different value is returned.
...a function call.
Every C plus plus program that is a main program must have the function 'main'.
to locate coordinates ..
Use the C++ getline() function from the standard library.
There is no such thing. You probably meant the main function. The main function is the only function that is required as it serves as the entry point of the program.
You can use rand(). Make sure that you use srand()to generate the seed for rand() (if you do not, you get so called pseudo random numbers).
There is no such term as "building function" in C++.
...a function call.
yes,we can make function inline
Every C plus plus program that is a main program must have the function 'main'.
Control is returning to the caller of the function.
method
It is the first function that gets called when the program is executed.
It is a quadratic function which represents a parabola.
Use function mkdir.
to locate coordinates ..
Use the C++ getline() function from the standard library.