Name: eko 2009-10-16 14:54
I'm a first year student and I study Computer Game Development.
Right now we are learning C++ among other things.
Is there a way to store numbers (int) into an array using something like cin.getline or getline(cin,x) for char arrays.
while typing I want to only separate the numbers with space.
Alternatively I could use a line like:
if(//case 'a' pressed)
goto y;
Im stuck on this one, feel free to laugh at me
Right now we are learning C++ among other things.
Is there a way to store numbers (int) into an array using something like cin.getline or getline(cin,x) for char arrays.
while typing I want to only separate the numbers with space.
Alternatively I could use a line like:
if(//case 'a' pressed)
goto y;
Im stuck on this one, feel free to laugh at me