where da hell I have prolem?? :D
I need to rewrite only those words which have m letter
<quote>
#include <iostream>
#include<fstream>
using namespace std;
const char size=10;
int main(){
char c;
char s[size];
fstream fin ("in.txt", ios::in);
fstream fout ("out.txt", ios::out);
fin.get(c);
while (!fin.eof()){
while (c!=' '){
for (int i=0; i<size; i++){
s[i]=c;};}
for (int k=0; k<size; k++){
if (s[k]=='m') fout.put(s[k]);