fork download
  1. #include <iostream>
  2. #include <sstream>
  3.  
  4. using namespace std;
  5.  
  6. int main(int argc, char *argv[])
  7. {
  8. stringstream ss(argv[1]);
  9. float f;
  10. ss >> f;
  11. cout << f << endl;
  12.  
  13. return 0;
  14. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty