D vs C++11

Jonathan M Davis newsgroup.d at jmdavisprog.com
Thu Jun 28 21:09:19 UTC 2018


On Thursday, June 28, 2018 20:25:15 John parker via Digitalmars-d wrote:
> On Friday, 2 November 2012 at 20:12:05 UTC, so wrote:
> > On Friday, 2 November 2012 at 18:34:13 UTC, Jacob Carlborg
> >
> > wrote:
> >> I would absolutely say that the gap is getting thinner. I
> >> would mostly say that with C++11 C++ has finally started to
> >> catch up with D and the rest of the world.
> >
> > Serious? It doesn't even have a "static if".
>
> If you use a static variable in your program then you can not
> change the value of that variable. To make fixed a variable
> static you have to use static keyword.you can also take help from
> https://printerchatsupport.co.uk/dell-printer-support/ for your
> query. In a program, if you use static variable then you have to
> declare it as a global variable.

I would point out that you're necro-ing a thread that's nearly 6 years old.

- Jonathan M Davis



More information about the Digitalmars-d mailing list