Guest_imported
New member
- Jan 1, 1970
- 0
how do i skip to a certain line in a file, and then read that line??
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
char buffer[129];
fin.getline(buffer, 129, '/n'); /* assumes fin is an ifstream object already connected to a file */
fin.getline(buffer, 129);