No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
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 << …
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) { …
The End.
jlianne18