- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
4 Posted Topics
WHEN DATA IS READ FROM FILE AND I SELECT DISPLAY ALL IT FIRSTLY DISPLAY THE INFORMATION FROM THE FILE AND FILLS WHATEVER LEFT OUT OF THE10 RECORDS WITH WEIRD SYMBOLS. [CODE=cplusplus] # include <stdio.h> # include <string.h> # include <iostream> # include <fstream> #include <stdlib.h> using namespace std; typedef struct … | |
Re: THINKING [QUOTE] void getInput(ifstream& fin, int year[], int month[], int rain_in_month[]) { int i = 0; fin >> year[i] >> month[i] >> rain_in_month[i]; i++; cout << year[i] << month[i] << rain_in_month[i] << endl; return;[/QUOTE] THAT MIGHT HELP....I'M NOT SURE.... | |
After adding information, when i choose the option "Display all" it crashes right before it's going to display GPA... can anyone help me...also can anyone help me read from the file into the array... plzz...this is really frustrating...any help greatly appreciated. [code=cplusplus]# include <stdio.h> # include <string.h> # include <iostream> … | |
my C++ program is writing an array to the file...but how can i get the data to read into the array in my program? |
The End.