Hai... I have created a new packet header for my project regarding geographic routing protocol for adhoc networks. with this mail i have included my header file. #ifndef __bsr_h__
#define __bsr_h__ #include <agent.h> #define NETWORK_DIAMETER 8 // 8 hops // The followings are used for the forward() function. #define DELAY 1.0 #define NO_DELAY -1.0 #define ARP_DELAY 0.01 class BsrAgent : public Agent { public: int command(int argc, const char*const* argv); void greedy(int src); void readmatrix(); void findangle(double src,double next,double dest); void display(int src); }; #endif /* __bsr_h__ */ but while compilation it produces the following errors. bsr.h:5:19: error: agent.h: No such file or directory bsr.h:17: error: expected class-name before ‘{’ token can anyone guide me regarding this....... Thank You, Gayathri. The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/