Search:

Type: Posts; User: TransformedBG

Search: Search took 0.01 seconds.

  1. Message class ** Need help befor 12am tonight**

    Currently i have:

    message.h:

    #ifndef MESSAGE_H
    #define MESSAGE_H
    #include <iostream>
    #include <fstream>
    #include <sstream>
    using namespace std;
  2. Replies
    16
    Views
    1,827

    Okay how do i find the largest dementions of a...

    Okay how do i find the largest dementions of a box?
  3. Replies
    16
    Views
    1,827

    wait i want it to be like double yCoor = yCoor...

    wait i want it to be like double yCoor = yCoor huh?
  4. Replies
    16
    Views
    1,827

    I guess the problem im having is trying to...

    I guess the problem im having is trying to describe a box using points. If it was anything else i might get it. Like a data base or sometihng i dont know. Anyways, they are exzactly the same:
    ...
  5. Replies
    16
    Views
    1,827

    now i have a problem with this: void...

    now i have a problem with this:



    void setXCoor(double);
    void setYCoor(double);
    void setZCoor(double);
  6. Replies
    16
    Views
    1,827

    Okay wait that worked. Okay quesiont how would i...

    Okay wait that worked. Okay quesiont how would i find the largestDemention or the smallest demintion?
  7. Replies
    16
    Views
    1,827

    or do i want it to be double xCoor?

    or do i want it to be double xCoor?
  8. Replies
    16
    Views
    1,827

    Okay but if i make it double getXCoor(double);...

    Okay but if i make it

    double getXCoor(double);

    and

    double XYZBox::getXCoor(double) //depth

    i get:
    C:\...Box.cpp(55) : error C2440: 'return' : cannot convert from 'class XYZPoint' to...
  9. Replies
    16
    Views
    1,827

    Okay so what if i want it to be a part of XYZBox,...

    Okay so what if i want it to be a part of XYZBox, but use my XYZPoint class get_coor function?
  10. Replies
    16
    Views
    1,827

    Okay im looking at this as a function: ...

    Okay im looking at this as a function:


    double getXCoor();
    double is the return type, get_Coor is the function call, and (n?) is what i want? correct?

    now

    double XYZBox::get_Coor()
    {
  11. Replies
    16
    Views
    1,827

    Okay do i need to post sometihng like ...

    Okay do i need to post sometihng like

    XYZBox::XYZPoint; somewhere?
  12. Replies
    16
    Views
    1,827

    Okay so i did this and got the get_Coor to work. ...

    Okay so i did this and got the get_Coor to work.



    double XYZPoint::getXCoor() //depth
    {
    return xCoor;
    }

    double XYZPoint::getYCoor() //width
  13. Replies
    16
    Views
    1,827

    Seriously need help!

    Currently my mission in life is to write a box class which consists of:


    So my point class is already done and works:

    Point.h
    ...
Results 1 to 13 of 13