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: |

Asked about its stance on disinformation, Telegram spokesperson Remi Vaughn told AFP: "As noted by our CEO, the sheer volume of information being shared on channels makes it extremely difficult to verify, so it's important that users double-check what they read." On February 27th, Durov posted that Channels were becoming a source of unverified information and that the company lacks the ability to check on their veracity. He urged users to be mistrustful of the things shared on Channels, and initially threatened to block the feature in the countries involved for the length of the war, saying that he didn’t want Telegram to be used to aggravate conflict or incite ethnic hatred. He did, however, walk back this plan when it became clear that they had also become a vital communications tool for Ukrainian officials and citizens to help coordinate their resistance and evacuations. Again, in contrast to Facebook, Google and Twitter, Telegram's founder Pavel Durov runs his company in relative secrecy from Dubai. The message was not authentic, with the real Zelenskiy soon denying the claim on his official Telegram channel, but the incident highlighted a major problem: disinformation quickly spreads unchecked on the encrypted app. Russian President Vladimir Putin launched Russia's invasion of Ukraine in the early-morning hours of February 24, targeting several key cities with military strikes.
from kr


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