Aaaaaaaa
12345678910111213141516171819202122232425262728293031
#include <iostream> #include <fstream> using namespace std; int main(){ fstream file("alli.in"); char arr[10] = {'\0'}; string s; int flag = 1; while(getline(file,s)){ for(int i=0;i<s.length();i++){ if(s[i]!=' '){ flag = 0; } else flag = 1; if(flag=1){ s[i]=arr[i]; cout << arr[i]; } } } return 0;}