Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~423 People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for jlianne18

how can i merge the values of the arrays? if i get the values of each array in a file.txt and file2.txt [CODE] void ReadList() { ifstream fin; fin.open ("1.txt"); for(A=0; A<10; A++) fin >> Array[A]; fin.close(); ifstream fin2; fin2.open("2.txt"); for(B=0; B<20; B++) fin2 >> Array[B]; fin2.close(); N=A+B; cout << …

Member Avatar for Saith
0
213
Member Avatar for jlianne

it's me jlianne.. here's my code.. i dont know if it's working.. ps help.. :( [CODE] #include <iostream> #include <fstream> using namespace std; void ReadList(int Array[ ], int N) { N = 0; ifstream input("file.txt"); return; } void Avgs (int Array[], int N, int& Ave, int& AveP, int& AveN) { …

Member Avatar for jlianne18
0
210

The End.