Thanks for your reply. I've included that statement.
Now I want to create a simple example to use this box class:
boxmain.cc
Code:
#include "box.h"
#include <iostream.h>
int main(){
box b;
b.value();
return 0;
}
How do I compile this? I'm trying g++ -Wall -o box boxmain.cc but I'm running into errors.
Edit: I've already compiled box.cc with "g++ -c box.cc"