Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

cin.getline?

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

Name: Anonymous 2009-10-17 10:46

>>11
troll detected .

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List