I'm using Unix at the school (alpha). To compile I usually type cxx *.cpp and it gives me an a.out file. I typed a.out and it shows me the output for the progam. If I need to type the names of the...
Type: Posts; User: Wiggin
I'm using Unix at the school (alpha). To compile I usually type cxx *.cpp and it gives me an a.out file. I typed a.out and it shows me the output for the progam. If I need to type the names of the...
*Bump*
Anyone?
I'm using Unix at the school (alpha). To compile I type cxx *.cpp and it gives me an a.out file. If I need to type the input and output names at the command line, how do I do that? When I compile it...
Sorry if the title is unclear, it's hard to put into a sentence what my question is. I have two ADT classes, one is grid the other is blob. Grid contains only the private variables:
char...
Awesome, thanks alot. Hopefully you don't hear from me again.:)
The internet still amazes me sometimes with all that it can do. Posting a topic and getting a free response this quick is great.
I'm assuming you meant:
int main(int argc, char **argv)
...
I've finished coding my whole project except for this last part (thank goodness). In all the projects i've done in the past, the input and output file names are set by the programmer in the code...
Set Set::operator = (const Set& S)const
{
...
I have a project due in 2 hours that I've been working on for weeks. I'm fairly confident that the project will work after I get help with this one function. I need to overload my assignment operator...
In main i'm declaring an object P:
Point P;
Then i'm trying to pass it and another Point object dest to use the ojbects:
int numOfPaths(Point P, int x, int y, Point dest, int n);
...
Thanks alot, I did forget to include the class header. So when passing the object to functions its just "createNewHand(Hand[13]);"? My teacher wants main.cpp as just a driver of my program, code...
"Create a 13 element array of Card objects".
Tried typing: Card Hand[13];
Wouldn't work tho. Card is my class, hand is the name of the object i'm trying to create. First time programming in...