how do i create a loop to get a set of unknown integer values that are stored in an input file?
here is what i have so far. am i on the right track. can someone show an example of how i am suspose to do it.
#include%26lt;iostream%26gt;
#include%26lt;fstream%26gt;
using namespace std;
int main()
{
ifstream input;
double number;
input.open("inputFile-1.txt");
while (input)
{
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment