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

During the operations, Sebi officials seized various records and documents, including 34 mobile phones, six laptops, four desktops, four tablets, two hard drive disks and one pen drive from the custody of these persons. Soloviev also promoted the channel in a post he shared on his own Telegram, which has 580,000 followers. The post recommended his viewers subscribe to "War on Fakes" in a time of fake news. "There are a lot of things that Telegram could have been doing this whole time. And they know exactly what they are and they've chosen not to do them. That's why I don't trust them," she said. In view of this, the regulator has cautioned investors not to rely on such investment tips / advice received through social media platforms. It has also said investors should exercise utmost caution while taking investment decisions while dealing in the securities market. 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 jp


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