you could fit them into a string like "23,24,66,22,55,67" then typecast into the skill something like skill1=(char*)this_string or skill1=(string*)this string ..
or put them in an array and cast it into the skill.
or put them in a struct - pointer and cast them in to the skill.