Converts a character to integer (if it is a numeric character)
Use the atoi() or atol() function.
Yes
The 'atoi' command is actually a function. It is not peculiar to Linux; it can be found in many high-level programming languages, most notably C, where it has the following signature: int atoi (const char* str); The 'atoi' name is simply a contraction of 'ASCII to integer'. That is; you use the function to convert a null-terminated ASCII string to an integer. The string argument (str) must represent some base 10 numeric symbol. That is, "42", "-1" and "3.14" are all numeric strings but the word "ten" is not. Leading whitespace is ignored by the function. There are also two other versions of the function which convert to long and float: long atol (const char* str); float atof (const char* str); To use these functions you need to include the <stdlib.h> header in C (or <cstdlib> in C++).
Use function mkdir.
to locate coordinates ..
Use the C++ getline() function from the standard library.
atoi ASCII to Integer Is what it does and that should be enough for you to formulate a full marks answer for your homework.
There is no "power" operator in C or C++. You need to the use the math library function pow().
There is no such term as "building function" in C++.
I believe, you can use C-function - printf().
Yes. (And of course you could simply try it, instead of asking.)
All these are conversion functions - atoi()-string to integer.itoa()-integer to string.gcvt()-double to string