I have the following code where I am trying to open a text file.
char frd[32]=\"word-list.txt\"; FILE *rd=fopen(frd,\"rb\"); if(!rd) std::cout&
r Open for reading (existing file only) and rb Open for reading (existing file only) in binary mode. Make sure you have the file in your working directory.
r Open for reading (existing file only) and rb Open for reading (existing file only) in binary mode