Say you have the argument to main in the form of ./program 447 758. How would the separation of those two numbers into integers be done for example to gain the result of.

Code:
first_num[0] = 4;
first_num[1] = 4;
first _num[2] = 7;

second_num[0] = 7;
second_num[1] = 5;
second_num[2] = 8;
Its driving me mad, i know its simple but can't seem to grasp it. Actual code would be extremely appreciated. Thanks