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

Search:

Type: Posts; User: laserlight

Search: Search took 0.07 seconds.

  1. Re: Can I create an object with the user defined name?

    A container that maps keys to values :)


    Because those names from the std namespace are fully qualified.


    Yes. (Though I note that the constructor parameter is a non-const reference when it...
  2. Re: Can I create an object with the user defined name?

    Ah, then I guessed correctly. My suggestions apply, and in fact Paul McKenzie's example is an example of my first suggestion.
  3. Re: Can I create an object with the user defined name?

    Instead of trying to create a variable whose name is the string entered by the user, what you can do is to associate that string with the other information, e.g., create a Pet class with a name...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured