Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- int main()
- {
- string S="74";
- int N;
- return 0;
- }
- #include <stdlib.h>
- n = atoi(S.c_str());
- #include <iostream>
- #include <sstream>
- #include <string>
- using namespace std;
- int main () {
- string S = "74";
- istringstream iss (S, istringstream::in);
- int val;
- iss >> val;
- return 0;
- }
- int num = NULL;
- for (int i = 0; i < str.length(); i++){
- num = num*10 + str[i] - 0x30;
- }
- cout << num+1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement