#include <iostream.h>
#include <string.h>
main()
{
char* name;
name = new char;
cin >> name;
cout << name << endl;
delete (name);
return (0);
}
così non fa, come posso fare?
p.s.: mi dice anche che ho fatto dei danni... è grave medico?
#include <iostream.h>
#include <string.h>
main()
{
char* name;
name = new char;
cin >> name;
cout << name << endl;
delete (name);
return (0);
}
così non fa, come posso fare?
p.s.: mi dice anche che ho fatto dei danni... è grave medico?