23 questions
As far as I know, if you use fseek, it moves in bytes, but can't you read it in rows?Currently, we are processing it arbitrarily through fgets.I'm saving five lines of information.
int bytesAvailable; FileInputStream fileInputStream = new FileInputStream(new File(somewhere)); bytesAvailable = fileInputStream.available(); int maxBufferSize = 100; int bufferSize = Math.min(bytesAv...
The getline() function also receives open characters, but when I execute the code, it just comes out connected I don't know why In test.txt,test1test2test3It's in here#include<iostream>#include&...
« | - 3 - |
© 2024 OneMinuteCode. All rights reserved.