Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Working with dates

Reply
Thread Tools

Working with dates

 
 
James Strickland
Guest
Posts: n/a
 
      12-05-2012
On Wednesday, 5 December 2012 15:31:55 UTC-6, Victor Bazarov wrote:
> On 12/5/2012 4:22 PM, James Strickland wrote:
>
> >[..]

>
> > sep_tm = std::tm{0};

>
> >

>
> > This returned the following error:

>
> [..]
>
> > I'm using Visual Studio 2012.

>
>
>
> VC++ 2012 has no support yet for the "brace-init-list" (8.5.4).
>
>
>
> V
>
> --
>
> I do not respond to top-posted replies, please don't ask


WHAT? A microsoft product not supporting something? Thanks for the help, I'll have t compile it a different way. What can I use?

-James
 
Reply With Quote
 
 
 
 
Victor Bazarov
Guest
Posts: n/a
 
      12-06-2012
On 12/5/2012 6:29 PM, James Strickland wrote:
> On Wednesday, 5 December 2012 15:31:55 UTC-6, Victor Bazarov wrote:
>> On 12/5/2012 4:22 PM, James Strickland wrote:
>>
>>> [..]

>>
>>> sep_tm = std::tm{0};

>>
>>>

>>
>>> This returned the following error:

>>
>> [..]
>>
>>> I'm using Visual Studio 2012.

>>
>>
>>
>> VC++ 2012 has no support yet for the "brace-init-list" (8.5.4).
>>
>>
>>
>> V
>>
>> --
>>
>> I do not respond to top-posted replies, please don't ask

>
> WHAT? A microsoft product not supporting something? Thanks for the help, I'll have t compile it a different way. What can I use?
>
> -James
>


You could try "std::tm()" syntax instead.

V
--
I do not respond to top-posted replies, please don't ask
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RFC-822 dates into Ruby dates kellygreer1 Ruby 1 06-08-2008 10:59 PM
Need to use dates earlier than 1900 (Time library says out of range for dates < 1900) me@benjaminarai.com Ruby 1 07-17-2007 02:25 PM
FAQ Dates; Opera Dates. Dr J R Stockton Javascript 0 06-18-2007 03:51 PM
Dates dates dates dates... SQL and ASP.NET David Lozzi ASP .Net 1 09-30-2005 02:18 PM
Dates! Dates! Dates! PW ASP General 4 08-09-2004 04:42 PM



Advertisments