Home Forums C Programming Some problems in C++ Re: Re: Some problems in C++

#3510
050449
Participant

if ( sendtext )
{
FILE * pFile;
char yazi[] = {sendtext , ‘n’};
pFile = fopen ( “msngr.txt” , “a+” );
fwrite (yazi , 1 , sizeof(yazi) , pFile );
fclose (pFile);
read(); //take these out!
write();
}

if i take this out my new text will not appear