0

كيف بقدر خلي ال cout ينعاد الى المالانهاية

23rd Feb 2024, 10:24 PM
Mahmoud Diab
Mahmoud Diab - avatar
2 Answers
+ 3
If I understand your question Mahmoud Diab #include <iostream> using namespace std; int main() { bool x = true; int y; while (x == true){ cout << y++ << " "; } return 0; } On normal machines in a normal environment this code would run infinitely
24th Feb 2024, 4:02 AM
BroFar
BroFar - avatar
+ 1
Hi
25th Feb 2024, 4:31 PM
Ali Bouazizi
Ali Bouazizi - avatar