//strings C #include #include using namespace std; // λίγα strings int main(int argc, char *argv[]) { system("chcp 1253"); char whatname[] = "What is your name? "; char whichtown[] = "Where do you live? "; char name [80]; string town; cout << whatname; cin >> name; // name χωρίς κενά cout << whichtown; cin >> town; // town χωρίς κενά cout << "Hello, " << name; cout << " from " << town << "!\n";; system("PAUSE"); return 0; }