Search:

Type: Posts; User: ripper079

Page 1 of 14 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    28
    Views
    2,302

    void test() { return ; } compiles...

    void test()
    {
    return ;
    }


    compiles fine...

    Is it possible to "return ;" in a function that return void???
  2. Thread: LinkedList

    by ripper079
    Replies
    1
    Views
    1,095

    Iīll love to help you but you post waaaaayy to...

    Iīll love to help you but you post waaaaayy to much code. Isīs all confusing. Post only relevant code such as.

    fuction iterate
    Declaration/defination class Rect_Node
    maybe what code line you...
  3. Replies
    5
    Views
    2,146

    Hmmm you are probably right guys. Iīve been...

    Hmmm you are probably right guys. Iīve been having this PSU since I purchased the computer and because i havnīt experienced any problem until now I thougt it was okey. Iīve desided to order a new PSU...
  4. Replies
    5
    Views
    2,146

    SATA discs disappear in Windows XP

    Athlon XP 3200+
    Asus A7N8X-E Deluxe (Rev 1012)
    1,5GB RAM PC3200
    Seagate 200GB IDE (Windows partition)
    2 X Seagate 120GB SATA (striping)
    GeForce 6800 GT
    CI-6A21 300W


    After having tons of...
  5. Thread: SATA d

    by ripper079
    Replies
    2
    Views
    1,229

    SATA d

    Athlon +3200
    Asus A7N8X-E Deluxe (Rev 1012)
    1,5GB RAM PC3200
    Seagate 200GB IDE (Windows partition)
    2 X Seagate 120GB SATA (striping)
    GeForce 6800 GT
    CI-6A21 300W


    After having tons of...
  6. Replies
    9
    Views
    1,629

    Hmm, pretty new to c++...I donīt want to be rude...

    Hmm, pretty new to c++...I donīt want to be rude but templates (particular class) shoudlnīt be learned to a "im pretty new to c++" in c++. You canīt run if you canīt walk :(. But I will make a try.
    ...
  7. Replies
    9
    Views
    1,629

    just out of curosity what happen when you...

    just out of curosity what happen when you instantiate your class (M) template with a primitive datatype?
  8. Replies
    9
    Views
    1,629

    Iīm not sure but shouldn't M::print() also be...

    Iīm not sure but shouldn't M::print() also be templated??
  9. Replies
    9
    Views
    1,629

    Where is pointer t defined and what is the error...

    Where is pointer t defined and what is the error message?
  10. Thread: loop debug

    by ripper079
    Replies
    2
    Views
    1,703

    try this if (fillup == 0.0) insteed

    try this


    if (fillup == 0.0)

    insteed
  11. Replies
    3
    Views
    1,042

    LatticeNode::LatticeNode(Cell *c) { num =...

    LatticeNode::LatticeNode(Cell *c)
    {
    num = NULL; //maybe num = 0; ?
    next = NULL;
    prev = NULL;
    t = c;
    }

    That code snippet shoudnīt case any problem as long you dont delete...
  12. Thread: Printing?

    by ripper079
    Replies
    4
    Views
    1,079

    Yes. Unfortunately there is no support for...

    Yes.

    Unfortunately there is no support for that in c++. You will have to use some other libraries/tool than thoose in standard c++. If you are programming in Windows there are surely some useful...
  13. Replies
    6
    Views
    2,482

    bennyandthejets are right and a const reference...

    bennyandthejets are right and a const reference can only invoke const member-functions. As for your two code-snippet comparisment you are right. The code doesnīt differ (except for the const-ness of...
  14. Thread: please help

    by ripper079
    Replies
    1
    Views
    1,053

    Resource file? That sounds like you are compiling...

    Resource file? That sounds like you are compiling a win32 program. Choose to make a console program insteed and it should work (I have never used bloodshed 4). Also post relevant code that causes the...
  15. Replies
    10
    Views
    1,401

    cout doesnīt know how it should display Point....

    cout doesnīt know how it should display Point. Try overload operator << for class Point (I assume that corner1 and corner2 are instances of class Point).
  16. Replies
    1
    Views
    1,468

    Hmm donīt really understand your problem (be more...

    Hmm donīt really understand your problem (be more specific) but I try anyway ^^. A while statement look like this


    while(some condition)
    {
    statements;
    }


    The statements will executed as...
  17. Replies
    5
    Views
    1,218

    Of course there is :), but I donīt know if this...

    Of course there is :), but I donīt know if this is a good solution. Start from the end-index and work your way to the beginning-index of the array. Beware of potential errors.


    // Do not
    //*...
  18. Replies
    3
    Views
    1,273

    You cannot assign a char-array like that. Use...

    You cannot assign a char-array like that. Use strcpy (for char array)and c_str (for std::string objects). By using only std::string objects would certainly make life easier.
  19. Replies
    11
    Views
    1,529

    std::string n1("Johnson"); std::string...

    std::string n1("Johnson");
    std::string n2("Sam");

    std::string nresult = n1 + std::string(" ") + n2;

    Donīt forget include correct headers.

    P.S. The moderators are gonna kill you for 3...
  20. Replies
    7
    Views
    1,367

    Const members (nonstatic) can ONLY be initialized...

    Const members (nonstatic) can ONLY be initialized in the initialization list


    class Test
    {
    public:
    Test();
    private:
    const int A;
    };
  21. Replies
    11
    Views
    1,491

    Remeber that your compiler is your friend. It...

    Remeber that your compiler is your friend. It will (usually) find the errors for you.

    In Town constructor there is an illigal statement. You cant assign values to an array like that

    ...
  22. Replies
    11
    Views
    1,491

    Why not post relavant code that causes the error?...

    Why not post relavant code that causes the error? It sure would make it easier for us to help you. Also read this
  23. Thread: Vectors

    by ripper079
    Replies
    5
    Views
    1,083

    Donīt think so, check in this...

    Donīt think so, check in this for more info.
  24. Thread: STD problem?

    by ripper079
    Replies
    7
    Views
    1,422

    I must agree with jlou. Post more relevant code....

    I must agree with jlou. Post more relevant code. Step through the code when you for the first time pushes to the vector and see it both values are the same. You are probably changing...
  25. Replies
    3
    Views
    1,752

    Thats a lots of code to look through. My best...

    Thats a lots of code to look through. My best advice would be to use a debugger and follow the code until the error occurs.
Results 1 to 25 of 343
Page 1 of 14 1 2 3 4