fork download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. using namespace std;
  5.  
  6.  
  7. int main(int argc, const char** argv)
  8. {
  9. //if (comand == "insert")
  10. {
  11. int ID = 0;
  12. string Name;
  13. cin >> std::quoted(Name);
  14. cin >> ID;
  15. cout << "name is " << Name << " and ID is " << ID << endl;
  16. //root = insertInfo(root, Name, ID);
  17. }
  18.  
  19. }
Success #stdin #stdout 0.01s 5648KB
stdin
"Parth yagnik" 34
stdout
name is Parth yagnik and ID is 34