0
How do C change to C++?
there have two parts { sscanf(data0.c_std(), "%d", &x); } and { for(p=b; scanf("%c",p) && is space(*p); ); } I want to change this two parts to c++ how can I do?
4 Answers
0
cout<< <<;
cin>> >>;
0
#include <string>
use namespace std;
string x;
cin >> x;
cout >> "You entered '" << x << "'" << endl;
0
cout<< <<;
cin>> >>;
- 1
cin>>x endl;