Search results

  1. P

    problem during creation of object file

    hi, I have a problem in understanding the creation of object file just look at the code below. in the code below i have defined struct node in another C file. I have no any declaration of struct node in this code . But when i am compiling this code to generate the object code it is...
  2. P

    not understanding the array declaration along with macro

    hi here is the code , can any one plzzz explain the below code. static const unsigned char BitsSetTable256[256] = { # define B2(n) n, n+1, n+1, n+2 # define B4(n) B2(n), B2(n+1), B2(n+1), B2(n+2) # define B6(n) B4(n), B4(n+1), B4(n+1), B4(n+2) B6(0)...
  3. P

    problem in out put while using pointer in C++

    #include<iostream> using namespace std; class test { public: int* i ; test(int k) { i=&k; } }; int main() { test p(2); cout<<"for 1st time *(p.i) :"<< *(p.i); cout<<"\n"; cout<<"for 2nd time *(p.i) :"<< *(p.i); cout<<"\n"; cout<<"for...
  4. P

    problem in making module in RHEL 5

    Hii i m trying to build a kernel module in RHEL 5 but during compilation errors are coming as it is not getting #include<linux/module.h> . so is there any way to this problem.....plz reply
Top Bottom