daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Feb 12th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>;
  2. #include <bits/stdc++.h>
  3.  
  4. using namespace std;
  5.  
  6. string s;
  7.  
  8. int main()
  9. {
  10.     // Podanie liczby
  11.     cin >> s ;
  12.  
  13.     // Deklaracja długości idk czemu
  14.     int n = s.length();
  15.  
  16.     // Deklaracja tablicy
  17.     char char_array[n+1];
  18.  
  19.     // kopiowanie wyrazu do tablicy
  20.     strcpy(char_array, s.c_str());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top