#include <iostream>using namespace std; int main() { float f = 999999999; cout << static_cast<int>(f);}
Standard input is empty
1000000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!