Search:

Type: Posts; User: redfiche

Search: Search took 0.00 seconds.

  1. maybe?

    if you can make foo a member function with one param instead of a non-member function with two params, you can take advantage of polymorphism to get the right type of object instantiated. Please...
  2. Replies
    3
    Views
    1,221

    Setting the strings = "NULL" would be changing...

    Setting the strings = "NULL" would be changing the data.

    Empty strings are not null. It's not the database, it is ODBC, which does if (field.IsEmpty()) field.m_null = true. The problem seems to...
  3. Replies
    3
    Views
    1,221

    CRecordset and nulls

    Hi all

    I have a CRecordset derived class, with some string fields which correspond to non-nullable columns in the database. Unfortunately, it seems that ODBC converts empty strings to null, so my...
  4. Replies
    14
    Views
    26,204

    My $0.02: If you already know how to program in...

    My $0.02: If you already know how to program in one or more other languages, you have a chance at learning C++ in 21, especially if one of those other languages is OO. The syntax of the language is...
  5. Replies
    8
    Views
    1,076

    7stud: I knew my audience would know I spoke...

    7stud:

    I knew my audience would know I spoke of a member function.

    Codeplug confirmed my suspicion. Thanks.
  6. Replies
    8
    Views
    1,076

    const question

    Hi all

    I'm a little confused about the difference between:

    bool const Foo();

    and

    bool Foo() const;
Results 1 to 6 of 6