Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
About Me

I am a computer engineering student who is learning.

Interests
Hanging out on social networks sites, blogging, playing games, and sleeping.
PC Specs
Quadro FX5600 - OS X Snow Leopard
Favorite Forums
Favorite Tags

5 Posted Topics

Member Avatar for icasta13

The results of this program giving me values that should not be the way it is, it must display the list of numbers... [ICODE]#include <iostream> #include <fstream> using namespace std; void ReadList(int Array[], int N) { ifstream data_file; data_file.open("numbers.dat"); N=10; for(int i=0; i<N; i++) { data_file >> Array[i]; cout << …

Member Avatar for icasta13
0
218
Member Avatar for icasta13

could someone help me, i dont know how to show the results... [CODE]#include <iostream> #include <fstream> using namespace std; int ReadList(int Array[], int N) { int list=0; for(N=0; N<10; N++) { list= Array[N]; } return list; } void Avgs (int Array[], int N, int &Ave, int &AveP, int &AveN) { …

Member Avatar for icasta13
0
275
Member Avatar for icasta13

I'm having a problem with my program. This program will display the numbers and get the average of them, average of positive and negative numbers, and also display the largest element. I have 3 files. For header, other functions and main function. Prog.h [CODE]#ifndef Prog #define Prog class Prog { …

Member Avatar for jonsca
0
220
Member Avatar for icasta13

[CODE]#ifndef Prog_h #define Prog_h class Prog { public: int Array[]; int N; void ReadList(int Array[], int N); void Avgs (int Array[], int N, int &Ave, int &aveP, int &AveN); int Large (int Array[], int N); void Display(int Array[], int N, int Ave, int AveP, int AveN, int Max); }; #endif …

Member Avatar for Fbody
0
116
Member Avatar for renork

Narue is right.. must remove [] and make that as [CODE]small(array, sumc, sumr, r, h, w);[/CODE]

Member Avatar for icasta13
0
845

The End.