CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: class locale

  1. #1
    Join Date
    Dec 2010
    Posts
    54

    class locale

    Hi,

    What makes a class locale?

  2. #2
    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    379

    Re: class locale

    What makes a class locale?
    Maybe smart decoration and good service? :-)

    Do you mean locale, or a local class? A local class would be one declared within a function definition.

  3. #3
    Join Date
    Dec 2010
    Posts
    54

    Re: class locale

    Code:
    class  locale{
    	: public _Locbase<int>
    
    };

    http://www.cplusplus.com/reference/std/locale/locale/

  4. #4
    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    379

    Re: class locale

    I'm not sure what you mean by what "makes" a class locale.

    You need to #include <locale> and then use std::locale() if you want to create a locale object, but I don't think that's what you're asking, can you cllarify?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured