Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
char strcpy
//Title of this code #include <iostream> #include <stdio.h> #include <string.h> typedef char* mystring; /*mystring citire(mystring s[50]) { std::cin.get(s,50); return *s; } */ int main() { int n; mystring (*s)[50],s1,s2; s1=new char[50]; s2=new char[50]; s1="tatatata"; //std::cout<<s1[1]<<"\n"; // std::cout<<s1[2]<<"\n"; std::cout<<*s1<<"\n"<<"\n"<<"\n"; strcpy(s2, "tatatatata"); std::cout<<*s2; std::cin>>n; std::cout<<n<<"\n"; //s=new char[50]; // (*s)[50] = new char[n][50]; // *s=citire(s); // std::cout<<s; }
run
|
edit
|
history
|
help
0
no_error
TempBubbleDouble
next permutation leetcode
c++_array_size
amma2
Building squares using smallest amount of matches
СП КИ ЭТАП 2
https://codeforces.com/contest/449/problem/D (INCLuSION EXCLUSION principle)
binary
Hi