Sunday, November 20, 2022

Digest for comp.lang.c++@googlegroups.com - 5 updates in 2 topics

"gdo...@gmail.com" <gdotone@gmail.com>: Nov 20 12:31PM -0800

> Xcode 14.1, set target 20
 
> GNU++20 [-std=gnu++20]
 
if someone who is using a Mac OS, Xcode 14.1, please check if there is an "execution" inside std::
or try to compile the code. maybe my Xcode has been corrupted, but I tried this code on https://www.onlinegdb.com/online_c++_compiler
and it gave me a similar error about std::execution:par ...
"Öö Tiib" <ootiib@hot.ee>: Nov 20 12:55PM -0800

> if someone who is using a Mac OS, Xcode 14.1, please check if there is an "execution" inside std::
> or try to compile the code. maybe my Xcode has been corrupted, but I tried this code on https://www.onlinegdb.com/online_c++_compiler
> and it gave me a similar error about std::execution:par ...
 
Will check tomorrow ... no Mac here. But it can be that Apple hasn't implemented
it as most of their focus is on Swift, not C++.
Paavo Helde <eesnimi@osa.pri.ee>: Nov 21 12:14AM +0200

> Xcode 14.1, set target 20
 
XCode is just an IDE which will call some compiler underneath (clang or
g++). I've not used it in last 15 years, but I'm sure some googling will
help how to find out the version of g++ it's using, and how to upgrade
it if necessary.
Michael S <already5chosen@yahoo.com>: Nov 20 02:51PM -0800

> if someone who is using a Mac OS, Xcode 14.1, please check if there is an "execution" inside std::
> or try to compile the code. maybe my Xcode has been corrupted, but I tried this code on https://www.onlinegdb.com/online_c++_compiler
> and it gave me a similar error about std::execution:par ...
 
I heard that Apple tools by default come with no gcc/g++.
In their environment gcc/g++ are links to clang/clang++.
Manu Raju <MR@invalid.invalid>: Nov 20 09:30PM

On 04/11/2022 01:14, Lynn McGuire wrote:
>     integer ihund = 0;
 
> Thanks,
> Lynn
 
In c# I can use this code and it works:
 
DateTime test = DateTime.Now;
 
Console.WriteLine($"Day: {test.Day}");
Console.WriteLine($"Month: {test.Month}");
Console.WriteLine($"Year: {test.Year}");
Console.WriteLine($"Hour: {test.Hour}");
Console.WriteLine($"Minute: {test.Minute}");
Console.WriteLine($"Second: {test.Second}");
Console.WriteLine($"Microseconds: {test.Microsecond}");
Console.WriteLine($"Nanoseconds: {test.Nanosecond}");
Console.WriteLine($"Ticks: {test.Ticks}");
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: