Reading List of Numbers into an Array using cin?Yes. I see it now. [code]int k = -1; do { k++; cin >> nums[k]; }while(nums[k] != -1); [/...
Reading List of Numbers into an Array using cin?[code]int k = 0; while(nums[k+1] != -1) { cin >> nums[k]; k++; } [/code] It still doesn't t...
Reading List of Numbers into an Array using cin?I get stuck in an infinite loop using std::cin. I just tried using a simple code: [code]for(int i =...
Reading List of Numbers into an Array using cin?For some reason I am having some trouble reading a list of numbers using cin into an array, using -1...
This user does not accept Private Messages