Forum: Database Design Jan 11th, 2009 |
| Replies: 2 Views: 835 Hi Julio,
Another way would be to have a single phone number table with two FKs (cust_id & cust_contact_id). Only one FK would be used for each phone number record.
James |
Forum: C++ Apr 20th, 2005 |
| Replies: 2 Views: 3,977 |
Forum: C++ Apr 20th, 2005 |
| Replies: 2 Views: 3,977 I am relatively new to C++ and am a bit unsure why the following function doesn't work.
/*********************************************************
* GetDate: Takes a string to be displayed to... |
Forum: C++ Mar 20th, 2005 |
| Replies: 2 Views: 3,173 Didn't realise I could just #include the other class header into the .cpp file instead of the .h file.
Problem solved. |
Forum: C++ Mar 20th, 2005 |
| Replies: 2 Views: 3,173 I'm pretty new to C++ and I'm having a problem with a Uni coursework.
I have two classes A & B which need to be able to call each others functions so they each hold a pointer to the other.
I... |
Forum: C++ Mar 19th, 2005 |
| Replies: 2 Views: 1,376 |
Forum: C++ Mar 19th, 2005 |
| Replies: 2 Views: 1,376 Can somebody please tell me where I should put an enumeration which will be used by several classes.
enum Direction
{
UP = 1,
DOWN = 2,
NONE = 3
};
All of the classes have... |
Forum: C++ Mar 19th, 2005 |
| Replies: 4 Views: 9,657 Thanks for your help. That was really giving me a headache
James |
Forum: C++ Mar 19th, 2005 |
| Replies: 4 Views: 9,657 As they stand they just recur:
#include "Lift.h"
#include "Control.h"
class Floor
{
public:
Floor(void);
~Floor(void);
private: |
Forum: C++ Mar 19th, 2005 |
| Replies: 4 Views: 9,657 I am new to C++ and cant get my program to compile because of #include recursion.
I have 3 classes A, B, C.
A includes B.h and C.h
B includes A.h
C includes A.h and B.h
They include each... |