Search:

Type: Posts; User: dingobiatch

Search: Search took 0.00 seconds.

  1. There has to be another way - the operator...

    There has to be another way - the operator overloads were written for me, I do not want to change them.
  2. This is the GetPixel functino.. it's inside of...

    This is the GetPixel functino.. it's inside of image.h, which is large, so I wouldn't want to post the entire thing.


    const Vec3f& GetPixel(int x, int y) const {
    assert(x >= 0 && x < width);...
  3. Here is one of the subclasses: #include...

    Here is one of the subclasses:


    #include "quad.h"
    #include "image.h"
    #include <string>
    #include <sstream>

    Quad::Quad(std::string str){
    stringstream ss(str);
  4. error: passing const as 'this' argument of ... discards qualifiers..

    I've been looking up how to fix this error, apparently it has to do with functions which should be declared const since something they take is const.
    I have a base class, graphobj, which has...
  5. Replies
    10
    Views
    3,264

    I'm using g++ (GCC) 4.1.2 20070626. New to c++...

    I'm using g++ (GCC) 4.1.2 20070626.

    New to c++ and g++, what would the whole compiler output include? that is the only error i have.
  6. Replies
    10
    Views
    3,264

    Killed the underscore, change it to myInt. Still...

    Killed the underscore, change it to myInt. Still doesn't work.
    This is amazing. Why won't this work on my system???
  7. Replies
    10
    Views
    3,264

    expected `)' before str... help!

    Almost got everything debugged in my code, but I'm having this error:
    integer.h:9: error: expected `)' before ‘astr’

    Header:

    #ifndef INTEGER_H
    #define INTEGER_H

    class Integer{
    private:
Results 1 to 7 of 7