Open surbhitt opened 9 months ago
The covert_to_rope implementation right now takes the FILE pointer and converts it into a rope.
The signature of the function is Rope* create_rope(FILE *fptr, int beg, int end)
Rope* create_rope(FILE *fptr, int beg, int end)
Ideally it should take a stream of characters (or some valid stream) and convert it into a rope.
The covert_to_rope implementation right now takes the FILE pointer and converts it into a rope.
The signature of the function is
Rope* create_rope(FILE *fptr, int beg, int end)
Ideally it should take a stream of characters (or some valid stream) and convert it into a rope.