Click here to Skip to main content
16,008,010 members

Comments by ansh_kumar (Top 23 by date)

ansh_kumar 20-Dec-16 8:22am View    
Put a scanf before `strcpy(fileBuf[len++],"To: " TO "\r\n");` now merge the two strings.
ansh_kumar 20-Dec-16 2:43am View    
Of course you can. Just change the code accordingly.
ansh_kumar 19-Dec-16 7:21am View    
Don't include it. It no longer exists.
ansh_kumar 27-May-15 23:08pm View    
The base64 method you are using is same as in solution 2. Moreover the no_of_rows in for loop in read_file is calculated before encoding the file whereas it has to be calculated after encoding the file so that all the encoded text is placed in fileBuf. See solution 3 how it is calculated after encoding the file. I think you were lucky with your file chosen.
ansh_kumar 22-May-15 0:33am View    
Is the code working when you compile it as release version??