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

Search:

Type: Posts; User: monday-to-friday

Search: Search took 0.00 seconds.

  1. Re: How to access the value to which const char* const points?

    Thanks
  2. Re: How to access the value to which const char* const points?

    GCDEF, thanks for your reply.

    I just found another option that seems to work:

    if (*a == '\0')

    Is this also a correct way?
  3. Re: How to access the value to which const char* const points?

    I mean I don't actually assign anything to 'a' myself (just realised that the line
    const char* const a = ... would probably not work and might just confuse everybody).
  4. [RESOLVED] How to access the value to which const char* const points?

    Hi,

    I need to check if the pointer const char* const points to an empty string.

    Something like this:


    const char* const a = ...
    if (&a == "") {
    cout << "empty string!";
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center