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

Search:

Type: Posts; User: Paul McKenzie

Search: Search took 2.57 seconds.

  1. Replies
    19
    Views
    60,651

    Re: about properties

    So you're trying to turn C++ into another language? Why not just use the language as it's intended to be used?

    "My favorite language does this, so I'm going to get C++ to try and do the same...
  2. Replies
    19
    Views
    60,651

    Re: about properties

    The problem is not std::string.

    The problem is that you did not overload the DefaultProperty class for operator >> or operator <<.

    The bottom line is that if you're going to use operator >>...
  3. Replies
    19
    Views
    60,651

    Re: about properties

    There is no such thing as "properties" in C++. That is what you fail to understand.

    Unless you're a C++ expert (enough to never ask a question on CodeGuru) would you want to make C++ code look...
  4. Replies
    19
    Views
    60,651

    Re: about properties

    If it's more easier, why are you having so many problems?

    The issue is this -- there is no way to "map" one language to another language on a line-by-line basis. That is what you're trying to do,...
  5. Replies
    19
    Views
    60,651

    Re: about properties

    Because that code you have is faulty. That's the price you pay when you just get code from anywhere, don't know what it really does, and things don't work or compile.

    First, why are you using...
  6. Replies
    19
    Views
    60,651

    Re: about properties

    What is this?


    #include <iostream>#include <string>
    You should fix the above so that you have one #include per line.
    You declared a pointer, and it points to junk. You cannot use it until you...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured