Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. int napisyzplikuW(string temp){
  2. int x=temp.find(',');
  3. cout<<"x: "<< x <<endl;
  4. for(int i=0;i<x;i++){
  5. a[i]=temp[i];
  6. }
  7. for(int i=x+1; i<temp.length();i++){
  8. b[i]=temp[i];
  9. }
  10. cout<< "a: " <<a << endl;
  11. cout<< "b: " <<b << endl;
  12. insert(a,b);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement