View Single Post
Old 15/02/2018, 03:33 PM   #5
VeryTallMidget
Big Clucker
 
VeryTallMidget's Avatar
 
Join Date: Apr 2017
Location: North LV, Emerald Isle
Posts: 104
Reputation: 14
Default Re: Anyone have some feedback? (C code)

Is this meant to be a text handled in server, or reading it from file ?
In case of file read, i would go for data stream instead of handling it as a text.
Would set up a search that detects a sequence of spaces in right size, replacing them by Tab, then no new lines exists, just a stream of data, much easier to handle, than reading it as text, line by line...
__________________
Click Here !

Useful stuff:
VeryTallMidget is offline   Reply With Quote