c++ Programming Glossary: stocknames
Linux | Segmentation Fault in C++ - Due to the function ifstream http://stackoverflow.com/questions/6931535/linux-segmentation-fault-in-c-due-to-the-function-ifstream The relevant part of the code is similar to this ifstream stockNames names.txt while stockNames.eof string snline getline stockNames.. is similar to this ifstream stockNames names.txt while stockNames.eof string snline getline stockNames snline cout snline endl.. names.txt while stockNames.eof string snline getline stockNames snline cout snline endl . . . this should print the first line..
|