User profile: SamuelAdams

User info
User name:SamuelAdams
Number of posts:789
Latest posts:

fstream problem
Your format on line 11 is incorrect. All you really need is [code]if (infile.good())[/code] If yo...

Writing to output file(.txt) with several functions
Either move line 49 & 50 to your function or make them global.

double post

function to display dynamic array
You already have the code for the 1st 3 positions, what's not working is the last 3. you do not nee...

[code]#include <iostream> using namespace std; int main (int argc, char *argv[]) { // Put code here ...