User Profile

Collapse

Profile Sidebar

Collapse
Avi23
Avi23
Last Activity: Jul 6 '07, 10:37 AM
Joined: Jun 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Avi23
    replied to what are void,null and dangling pointers?
    in C
    Hi

    Dangling Pointer is a pointer which is pointing to such memory blaock which has been deleted.
    And a Null Pointer is one which to pointing no where.

    e.g. int *ptr = new (int);
    delete ptr; // now ptr will be a dangling pointer which is pointing to location that has been deleted.

    ptr = NULL; // this makes the "ptr" to be a NULL pointer

    Void Pointer:...
    See more | Go to post

    Leave a comment:


  • Avi23
    replied to sizeof command in c
    in C
    i dont think it works on this way.

    As the Sizeof "int" tend to be the natural word size of the processor.
    If ur processor is of 16-bits, then sizeof (int) will return 2, n if it is of 32 bits then sizeof (int ) will return 4 .
    See more | Go to post

    Leave a comment:


  • Avi23
    replied to Problem consant_cast in C++
    in C
    Hi All

    m new to this community so i was just looking at few back dated posts.I also hav one doubt in this regard. i gone through the link u mention in ur rply but my doubt is: if compiler is creating the copy of the const variable for pointer , then it should carry the address of that copy not the address of varibale where it is originally stored.means according to me the address of const variable and the the address stored in pointer...
    See more | Go to post

    Leave a comment:


  • Avi23
    replied to Database connectivity in C++
    in C
    hi

    ya u r right tht there is the sample question..but if u closely look at the program its importing the file:

    #import "C:\Program Files\Common Files\System\AD O\msado15.dll" \

    thts possible only in case we are using C++ on Windows.
    But as i mentioned my previous msg i am using C++ on linux...so it cant be done on linux..
    So is there is any other way to get connected with databas...
    See more | Go to post

    Leave a comment:


  • Avi23
    replied to Database connectivity in C++
    in C
    http://www.thescripts. com/forum/thread619397.ht ml

    There is a same question you have asked for in this site only.


    This link waz for VC++ ..:(
    See more | Go to post

    Leave a comment:


  • Avi23
    replied to Database connectivity in C++
    in C
    Hi

    I am using C++ on linux.
    So Is there any wayout by whcih i can get connect to any database wothout using VC++

    Thnx...
    See more | Go to post

    Leave a comment:


  • Avi23
    started a topic Database connectivity in C++
    in C

    Database connectivity in C++

    Hi All

    Is it possible to use a database with C++. ( otherthan files)
    Without using VC++ interface can we connect to any database like Oracle, MS ACCESS ?
    See more | Go to post
No activity results to display
Show More
Working...