Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
typedef 2
//Title of this code #include <iostream> typedef char mystring; mystring citire(mystring s[50]) { //s=new char[50]; std::cin.get(s,50); return *s; //for(int i=0;i<n;i++){std::cin>>s[i];} // return s[i]; } int main() { int n; mystring *s,*s1; s1=new char[50]; s1="tatatata"; std::cout<<s1<<"\n"; std::cin>>n; std::cout<<n<<"\n";; s=new char[50]; // for(int i=0;i<n;i++){ // s[i] = new char[50]; // s1=citire(s[i],n); // std::cout<<s1; // } *s=citire(s); std::cout<<s; }
run
|
edit
|
history
|
help
0
Rubix
Continuous Sub Set with given sum
Привет Linux
Using C's sprinf() Function to Format Output String
Sieve Of Eratosthenes
remove_if_30-Seconds-of-C++
czekolada
ListTel
MyList
11 და 16 აპრილს დამუსავებული