This should help you get started:
Code:
int maximum_array_size = 260; // You shouldn't have a number bigger than this.
char array[maximum_array_size]; // Your array
int array_size = 0; // The size of your array, not yet figured out.
memset(array, 0, maximum_array_size); // Wipe the array clean.
cin << array; // Get the user input.
// Find the size of the array:
while(array_size < maximum_array_size && array[array_size] != 0)
{
array_size++;
}
// There, now we have the amount of characters in the array in array_size.
// And an example on accessing the array to begin with is also above.
I may have my operators pointing the wrong way, it's been a while sence I've coded outside windows.