taking a C++ class and for one of my labs I'm a little confused, I don't know where to look up how to do this. Please I DO NOT want this completed for me. I would like a kick in the right direction, possibly explain more about what the lab is talking about. I would ask my teacher but my classes are monday and wednesday and hes not in his office on the weekends.
The book I have (GG college books) talks about this stuff very little and exspects the teacher to fill in the blanks. Because the class is in the summer we cover 2-3 chapters in one class so sometimes it's alot of handle. here are the questions I have.
What does the istream and ostream mean?
int [] and cont int [] and all those, what do those mean?
I know this is supposed to be an array function just kinda lost, any kicks in the right directiong would be great, even any hints.
Write a program that will have 4 functions:
- input an array
void inputData( istream &, int [], int);
- print an array
void printData( ostream &, const int [], int);
- copy one array to another array in normal order
void copyArray( const int orig[], int dup[], int);
- copy one array to another array in reverse order
void revCopy( const int orig[], int rev[], int);
Write the main program to test the four functions you wrote
The book I have (GG college books) talks about this stuff very little and exspects the teacher to fill in the blanks. Because the class is in the summer we cover 2-3 chapters in one class so sometimes it's alot of handle. here are the questions I have.
What does the istream and ostream mean?
int [] and cont int [] and all those, what do those mean?
I know this is supposed to be an array function just kinda lost, any kicks in the right directiong would be great, even any hints.