CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Dhafir

Search: Search took 0.05 seconds.

  1. Replies
    6
    Views
    858

    SreeDharan.. you got it.. It is the...

    SreeDharan.. you got it..

    It is the "successful" assignement of a const char* ( like "123456789") to a non const char* that is confusing in that piece of code. Normally the compiler would pick...
  2. Replies
    6
    Views
    858

    Thanks ADSOFT, VC++ gives me : error C2664:...

    Thanks ADSOFT, VC++ gives me :
    error C2664: cannot convert parameter 1 from 'char (*)[10]' to 'char *'

    However, I am not looking for a solution, I am asking "why" I am getting "access...
  3. Replies
    6
    Views
    858

    Why the Access violation here ?

    Hi all,
    why I am getting "access violation" in line 1 below in foo(...)?

    void foo( char* str )
    {
    if( str != NULL && strlen(str) > 0 )
    {
    str[0] = '9'; // line 1
    }
    }
  4. Replies
    8
    Views
    5,653

    I have purchased the Dinkumware library just...

    I have purchased the Dinkumware library just yesterday and tried to integrate it with my VS 6.0. It is utterly painful and confusing, you refer to their header files in the project and it throws...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured