No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Disclaimer: the following question is not for homework or a class assignment....just practice I'm am trying to load an array with a file extension, based upon user input. The proper extension is present in the function, but when I print in main() to test, all I get is junk. This … | |
Re:
We are having problem with our code regarding file streaming. here is our code: [CODE]//Nava //Maganito //Ocampo //Lazo //Manata //CS133/BC2/PROJ #include <iostream> #include <fstream> #include <string> #include <cstdlib> #include <cctype> #include <cmath> using namespace std; void display(); void input(); void equate(); void calculate(); void lineChecker(); double num1=0; double num2=0; double … | |
Good Evening everyone, long time lurker, first time poster. I have an issue trying to read information from a file that I'm struggling with. My function takes a file input object and reads information into arrays of type int, int, double, char (2 dimensional array). The file data looks like … |