March 13th, 2014, 08:51 PM
Alright so we worked on the code a little further and it does not have any trouble pulling the numbers from the file.
My only question now is if you could give us a hand with the outputs. When I try...
March 13th, 2014, 06:14 PM
Yeah that was a mistake on our bad and with the closing bracket for in main()
I changed all the nums to number.
Also in line 77 we defined getNumber, is that the wrong place to define it?
March 13th, 2014, 05:43 PM
//Program: Classify Numbers
//This program counts the number of zeros, odd, and even numbers *?*/
#include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
March 13th, 2014, 05:18 PM
We initialized N in the int main() function and I'm pretty sure the getNumber is in the our while statement.
March 13th, 2014, 04:34 PM
Reposted it with the code, thanks for the tip man!
March 13th, 2014, 04:33 PM
//Program: Classify Numbers
//This program counts the number of zeros, odd, and even numbers *?*/
#include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;
March 13th, 2014, 04:11 PM
https://gist.github.com/anonymous/9536644
Here is my code and basically these are the steps.
I feel like we have something good to work on but we keep getting errors. Literally any amount of...