surbhitt / climber

A study of rope.
MIT License
0 stars 0 forks source link

Convert to rope (allocation) #2

Open surbhitt opened 9 months ago

surbhitt commented 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)

Ideally it should take a stream of characters (or some valid stream) and convert it into a rope.