Search:

Type: Posts; User: Wiggin

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,363

    Opening file at command line

    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...
  2. *Bump*

    *Bump*
  3. Replies
    6
    Views
    1,851

    Anyone?

    Anyone?
  4. Replies
    6
    Views
    1,851

    I'm using Unix at the school (alpha). To compile...

    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...
  5. ADT Initialization/Passing of Array from Friended ADT

    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...
  6. Replies
    6
    Views
    1,851

    Awesome, thanks alot. Hopefully you don't hear...

    Awesome, thanks alot. Hopefully you don't hear from me again.:)
  7. Replies
    6
    Views
    1,851

    The internet still amazes me sometimes with all...

    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)
    ...
  8. Replies
    6
    Views
    1,851

    User entering I/O File names at command line

    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...
  9. Replies
    3
    Views
    1,069

    Set Set::operator = (const Set& S)const ...

    Set Set::operator = (const Set& S)const
    {

    ...
  10. Replies
    3
    Views
    1,069

    Need help ASAP if you can

    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...
  11. Thread: Passing objects

    by Wiggin
    Replies
    1
    Views
    1,708

    Passing objects

    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);
    ...
  12. Replies
    3
    Views
    900

    Thanks alot, I did forget to include the class...

    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...
  13. Replies
    3
    Views
    900

    Array of objects

    "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...
Results 1 to 13 of 13