There has to be another way - the operator overloads were written for me, I do not want to change them.
Type: Posts; User: dingobiatch
There has to be another way - the operator overloads were written for me, I do not want to change them.
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);...
Here is one of the subclasses:
#include "quad.h"
#include "image.h"
#include <string>
#include <sstream>
Quad::Quad(std::string str){
stringstream ss(str);
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...
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.
Killed the underscore, change it to myInt. Still doesn't work.
This is amazing. Why won't this work on my system???
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: