Telegram Group & Telegram Channel
А вы знали, что в C++ есть оператор "стремится к"? И мало того, что код ниже компилируется, так он еще и выводит ожидаемые 210?
int main() { 
int x = 3;
while (x --> 0) {
std::cout << x;
}
}


На самом деле такого оператора нет( и тут просто вместе написаны два оператора –– и >. Компилятору просто без разницы, если ли между ними пробел или нет. А условие в цикле это просто (x–– > 0).



group-telegram.com/misha_writes_code/192
Create:
Last Update:

А вы знали, что в C++ есть оператор "стремится к"? И мало того, что код ниже компилируется, так он еще и выводит ожидаемые 210?

int main() { 
int x = 3;
while (x --> 0) {
std::cout << x;
}
}


На самом деле такого оператора нет( и тут просто вместе написаны два оператора –– и >. Компилятору просто без разницы, если ли между ними пробел или нет. А условие в цикле это просто (x–– > 0).

BY Миша пишет код


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/misha_writes_code/192

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

The account, "War on Fakes," was created on February 24, the same day Russian President Vladimir Putin announced a "special military operation" and troops began invading Ukraine. The page is rife with disinformation, according to The Atlantic Council's Digital Forensic Research Lab, which studies digital extremism and published a report examining the channel. The regulator said it has been undertaking several campaigns to educate the investors to be vigilant while taking investment decisions based on stock tips. Unlike Silicon Valley giants such as Facebook and Twitter, which run very public anti-disinformation programs, Brooking said: "Telegram is famously lax or absent in its content moderation policy." The S&P 500 fell 1.3% to 4,204.36, and the Dow Jones Industrial Average was down 0.7% to 32,943.33. The Dow posted a fifth straight weekly loss — its longest losing streak since 2019. The Nasdaq Composite tumbled 2.2% to 12,843.81. Though all three indexes opened in the green, stocks took a turn after a new report showed U.S. consumer sentiment deteriorated more than expected in early March as consumers' inflation expectations soared to the highest since 1981. You may recall that, back when Facebook started changing WhatsApp’s terms of service, a number of news outlets reported on, and even recommended, switching to Telegram. Pavel Durov even said that users should delete WhatsApp “unless you are cool with all of your photos and messages becoming public one day.” But Telegram can’t be described as a more-secure version of WhatsApp.
from de


Telegram Миша пишет код
FROM American